Returns an IBaseProperty
of the specified name if it exists on the content item.
null
, empty, or longer than 255 characters. The string used for the name will be trimmed of leading and trailing whitespace and is case-insensitive during comparison. An IBaseProperty
matching the specified name on the content item or null
if no such property exists.
The returned property is a sub-type of IBaseProperty
, that is, its actual type will be one of the derived property types, such as ITextLineProperty
, IDoubleProperty
, etc.
name
has to be the full name of the property, does not support wildcards, will be trimmed of leading and trailing whitespace and is case-insensitive for comparison.
Exception Type | Condition |
---|---|
InvalidOperationException | The content item has already been removed. |
IContentItem Interface | Plumtree.Remote.PRC.Content.Item Namespace | GetAllProperties