Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IContentItem.SetTextLinePropertyValue Method 

Updates the value of the ITextLineProperty.

void SetTextLinePropertyValue(
   IBaseProperty textLineProperty,
   string value
);

Parameters

textLineProperty
The ITextLineProperty; cannot be null.
value
The new value for the property; cannot be null or longer than 255 characters.

Remarks

An InvalidOperationException will be thrown if this method is called on an item that is not checked-out. The updated property value will not be persisted until IContentItemManager.CheckInItem is called. If the content item does not contain the specified property an ArgumentException will be thrown when IContentItemManager.CheckInItem is called.

See code sample in IContentItem class documentation on how to modify property value of different types.

Exceptions

Exception Type Condition
InvalidOperationException The item has already been removed or the item is not checked-out.
ArgumentException The item does not contain the specified property, or if the value is a string longer than 255 characters.

See Also

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