Table of Contents

Class Meta

Namespace
Dynamicweb.Content.Files.Metadata
Assembly
Dynamicweb.dll

An instance of meta data values for a file

public class Meta
Inheritance
Meta
Inherited Members

Properties

File

Gets or sets the file that the meta data belongs to.

public string File { get; set; }

Property Value

string

The file.

Methods

AddTagsToTemplate(Template)

Adds tags with with values of each filed to template instance in the format File:Metadata.FieldID where FieldID is dynamic.

public void AddTagsToTemplate(Template template)

Parameters

template Template

The template instance to add the tags to.

AddTagsToTemplate(Template, string)

Adds tags with with values of each filed to template instance.

public void AddTagsToTemplate(Template template, string tagPrefix)

Parameters

template Template

The template instance to add the tags to.

tagPrefix string

The tag prefix used in the tag name, i.e prefix.fieldid.

GetValue(string)

Gets the value of a field with the specifed field id.

public string GetValue(string fieldId)

Parameters

fieldId string

The field identifier.

Returns

string

SetValue(string, string)

Sets the value of a field with the specifed field id.

public void SetValue(string fieldId, string value)

Parameters

fieldId string

The field identifier.

value string

The value.

To top