DocumentProperty class

DocumentProperty class

Represents a custom or built-in document property.

The DocumentProperty type exposes the following members:

Properties

PropertyDescription
nameReturns the name of the property.
valueGets or sets the value of the property.
is_linked_to_contentIndicates whether this property is linked to content
sourceThe linked content source.
typeGets the data type of the property.
is_generated_nameReturns true if this property does not have a name in the OLE2 storage
and a unique name was generated only for the public API.

Methods

MethodDescription
to_intReturns the property value as integer.
to_doubleReturns the property value as double.
to_date_timeReturns the property value as DateTime in local timezone.
to_boolReturns the property value as bool.

See Also