Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IContentItem.GetFilePropertyValue Method 

Returns the value of the specified IFileProperty.

Stream GetFilePropertyValue(
   IBaseProperty fileProperty
);

Parameters

fileProperty
The IFileProperty; cannot be null.

Return Value

The value of the specified IFileProperty. 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 setFilePropertyValue on how to retrieve and update value for an IFileProperty.

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