AquaLogic Interaction Development Kit (IDK) 6.0.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 the code sample in setImagePropertyValue for an example of how to retrieve and update a 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 Publisher 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