Retrieves an object of the requested type, given a class identifier and an object ID.

This method does not verify the existence of the requested object on the server; it simply returns a local reference without making a round-trip to the server. The local reference is not affiliated with an object of this class type until you perform a function on the object (for example, Fetch a property value) that causes a round-trip to the Content Engine server.


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

Syntax

Visual Basic (Declaration)
Public MustOverride Function GetObject( _ 
   ByVal classIdent As String,  _ 
   ByVal objectId As Id _ 
) As IIndependentObject
C#
public abstract IIndependentObject GetObject(
   string classIdent,
   Id objectId
)
C++
public:
 IIndependentObject GetObject(
   String classIdent,
   Id objectId
) abstract 
J#
public abstract IIndependentObject GetObject(
   string classIdent,
   Id objectId
)
JScript
public abstract  function GetObject(
   classIdent : String,
   objectId : Id
) : IIndependentObject

Parameters

classIdent
The class name of which this object will be an instance.
objectId
The ID (GUID) of the object to retrieve.

Return Value

An object of the type requested.

See Also