Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IContentItem.GetTextBlockPropertyValue Method 

Returns the value of the specified ITextBlockProperty.

string GetTextBlockPropertyValue(
   IBaseProperty textBlockProperty
);

Parameters

textBlockProperty
The ITextBlockProperty; cannot be null.

Return Value

The value of the specified ITextBlockProperty. An ArgumentException will be thrown if content item does not contain the specified property.

Exceptions

Exception Type Condition
ArgumentException The item does not contain the specified property.
InvalidOperationException The item has been removed or the value has not been set for the specified property.

See Also

IContentItem Interface | Plumtree.Remote.PRC.Content.Item Namespace