Methods

getName()

Returns the name of the property.

getSource()

The linked content source.

getType()

Gets the data type of the property. The value of the property is PropertyType integer constant.

getValue()

Gets or sets the value of the property.

isGeneratedName()

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()

Indicates whether this property is linked to content

setValue()

Gets or sets the value of the property.

toBool()

Returns the property value as bool. Throws an exception if the property type is not PropertyType.Boolean.

toDateTime()

Returns the property value as DateTime in local timezone. Throws an exception if the property type is not PropertyType.Date.

toDouble()

Returns the property value as double. Throws an exception if the property type is not PropertyType.Float.

toInt()

Returns the property value as integer. Throws an exception if the property type is not PropertyType.Number.

toString()

Returns the property value as a string. Converts a number property using Object.ToString(). Converts a boolean property into "Y" or "N". Converts a date property into a short date string.