Class MetadataInteger
Summary description for MetadataInteger.
Inherited Members
Namespace: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
public class MetadataInteger : Metadata
Constructors
MetadataInteger()
Initializes a new instance of the MetadataInteger class.
Declaration
public MetadataInteger()
MetadataInteger(MetadataDefinition, Nullable<Int32>, Boolean, Boolean, Boolean, Boolean)
Initializes a new instance of the MetadataInteger class.
Declaration
public MetadataInteger(MetadataDefinition definition, Nullable<int> languageId, bool isMandantory, bool isTitle, bool isAltText, bool isDefinedInVault)
Parameters
| Type | Name | Description |
|---|---|---|
| MetadataDefinition | definition | |
| System.Nullable<System.Int32> | languageId | |
| System.Boolean | isMandantory | |
| System.Boolean | isTitle | |
| System.Boolean | isAltText | |
| System.Boolean | isDefinedInVault |
MetadataInteger(MetadataInteger)
Initializes a new instance of the MetadataInteger class.
Declaration
public MetadataInteger(MetadataInteger metadataInteger)
Parameters
| Type | Name | Description |
|---|---|---|
| MetadataInteger | metadataInteger |
Properties
InnerValue
Get/Sets the InnerValue of the DbMetadataString
Declaration
protected override object InnerValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object |
Overrides
IntegerValue
Get/Sets the IntegerValue of the MetadataInteger
Declaration
public Nullable<int> IntegerValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Methods
Parse(String)
Parses the string to a MetadataInteger
Declaration
public override void Parse(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Overrides
Exceptions
| Type | Condition |
|---|---|
| System.ComponentModel.DataAnnotations.ValidationException | If the value is not a valid int. |