Retrieves this object from the server and merges existing information in the property cache with the retrieved information for the specified properties.

If this object has changed on the server since it was last retrieved, you should call a Refresh method first; otherwise, an error will be thrown.


Namespace: FileNet.Api.Core
Assembly: FileNet.Api (in filenet.api.dll)

Syntax

Visual Basic (Declaration)
Public MustOverride Sub FetchProperties( _ 
   ByVal propertyNames As String() _ 
)
C#
public abstract void FetchProperties(
   string[] propertyNames
)
C++
public:
 void FetchProperties(
   array<String>^ propertyNames
) abstract 
J#
public abstract void FetchProperties(
   string[] propertyNames
)
JScript
public abstract  function FetchProperties(
   propertyNames : String[]
)

Parameters

propertyNames
A String array of property names identifying the properties to return with the retrieved object.

Exceptions

Exception TypeCondition
E_INVALID_ARGUMENT Thrown if the propertyNames parameter is Null or is an empty array.
API_FETCH_MERGE_PROPERTY_ERROR Thrown if the object has been changed on the server since it was last retrieved.

See Also