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
templateTemplateThe 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
templateTemplateThe template instance to add the tags to.
tagPrefixstringThe 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
fieldIdstringThe field identifier.
Returns
SetValue(string, string)
Sets the value of a field with the specifed field id.
public void SetValue(string fieldId, string value)