PropertyValue
Contents
[
Hide
]
PropertyValue class
Represents a property value.
public class PropertyValue
Constructors
Name | Description |
---|---|
PropertyValue(bool) | Initializes a new instance of the PropertyValue class with a boolean value. |
PropertyValue(byte[]) | Initializes a new instance of the PropertyValue class with a byte array. |
PropertyValue(DateTime) | Initializes a new instance of the PropertyValue class with a DateTime value. |
PropertyValue(double) | Initializes a new instance of the PropertyValue class with a double value. |
PropertyValue(double[]) | Initializes a new instance of the PropertyValue class with an array of double values. |
PropertyValue(int) | Initializes a new instance of the PropertyValue class with an integer value. |
PropertyValue(int[]) | Initializes a new instance of the PropertyValue class with an array of integer values. |
PropertyValue(long) | Initializes a new instance of the PropertyValue class with a long value. |
PropertyValue(long[]) | Initializes a new instance of the PropertyValue class with an array of long values. |
PropertyValue(string) | Initializes a new instance of the PropertyValue class with a string value. |
PropertyValue(string[]) | Initializes a new instance of the PropertyValue class with a string array. |
PropertyValue(TimeSpan) | Initializes a new instance of the PropertyValue class with a TimeSpan value. |
PropertyValue(ushort[]) | Initializes a new instance of the PropertyValue class with an array of ushort values. |
Properties
Name | Description |
---|---|
RawValue { get; } | Gets the raw value. |
Type { get; } | Gets the MetadataPropertyType . |
Methods
Name | Description |
---|---|
AcceptValue(ValueAcceptor) | Extracts the property value using a custom ValueAcceptor . |
ToArray<TElement>() | Converts the property value to an array of the specified type. |
ToClass<T>() | Converts the property value to a reference type. |
override ToString() | Returns a string that represents the property value. |
ToStruct<T>() | Converts the property value to a value type. |
ToStruct<T>(T) | Converts the property value to a value type. |
See Also
- namespace GroupDocs.Metadata.Common
- assembly GroupDocs.Metadata