Class DocumentProperty

DocumentProperty class

Represents a custom or built-in document property.

public class DocumentProperty

Properties

NameDescription
IsGeneratedName { get; }Returns true if this property does not have a name in the OLE2 storage and a unique name was generated only for the public API.
IsLinkedToContent { get; }Indicates whether this property is linked to content
Name { get; }Returns the name of the property.
Source { get; }The linked content source.
Value { get; set; }Gets or sets the value of the property.

Methods

NameDescription
ToBool()Returns the property value as bool.
ToDateTime()Returns the property value as DateTime in local timezone.
ToDouble()Returns the property value as double.
ToInt()Returns the property value as integer.

See Also