Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IContentItem.GetImagePropertyValue Method 

Returns the value of the specified IImageProperty.

Stream GetImagePropertyValue(
   IBaseProperty imageProperty
);

Parameters

imageProperty
The IImageProperty; cannot be null.

Return Value

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

Remarks

Note: To use any file upload/download functionality, including this using method, you must install WSE 2.0 (http://msdn.microsoft.com/webservices/building/wse/).

See code sample in setImagePropertyValue on how to retrieve and update value for an IImageProperty.

Exceptions

Exception TypeCondition
ContentSecurityException The user does not have the permission to access the item.
ContentException The method call resulted in a Content Server exception.
ArgumentException The item does not contain the specified property.
InvalidOperationException The item has not been persisted, has been removed, or the value has not been set for the specified property.
SoapException There was a communication problem during the execution of the remote method call.

See Also

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