Class MetadataDefinition
Defines a metadata definition
Inheritance
Implements
Inherited Members
Namespace: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
public class MetadataDefinition : IItem<int>
Constructors
MetadataDefinition()
Initializes a new instance of the MetadataDefinition class.
Declaration
public MetadataDefinition()
MetadataDefinition(MetadataDefinition)
Initializes a new instance of the MetadataDefinition class.
Declaration
public MetadataDefinition(MetadataDefinition metadataDefinition)
Parameters
Type | Name | Description |
---|---|---|
MetadataDefinition | metadataDefinition | The MetadataDefinition to copy the values from |
Properties
Description
Get/Sets the Description of the MetadataDefinition
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Get/Sets the Id of the MetadataDefinition
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsMultilingual
Get/Sets the IsMultilingual of the MetadataDefinition
Declaration
public bool IsMultilingual { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | If true, the value can be translated to other languages |
IsReadOnly
Get/Sets the IsReadOnly of the MetadataDefinition
Declaration
public bool IsReadOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | If true, the value of the metadata cannot be changed |
MetadataDefinitionType
Get/Sets the MetadataDefinitionType of the MetadataDefinition
Declaration
public MetadataDefinitionTypes MetadataDefinitionType { get; set; }
Property Value
Type | Description |
---|---|
MetadataDefinitionTypes |
MetadataType
Get/Sets the MetadataType of the MetadataDefinition
Declaration
public MetadataTypes MetadataType { get; set; }
Property Value
Type | Description |
---|---|
MetadataTypes |
Name
Get/Sets the Name of the MetadataDefinition
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SourceMetadataDefinitions
Get/Sets the SourceMetadataDefinitions of the MetadataDefinition
Declaration
public List<MetadataDefinitionMapping> SourceMetadataDefinitions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MetadataDefinitionMapping> | Defines the list of metadata definitions that will be mapped to this metadata definition |
SymbolKey
Get/Sets the SymbolKey of the MetadataDefinition
Declaration
public string SymbolKey { get; set; }
Property Value
Type | Description |
---|---|
System.String | If true, a symbol will be shown on media in e.g. media libraries |