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) |
|---|
Function GetObject ( _ classIdent As String, _ objectId As Id _ ) As IIndependentObject |
| C# |
|---|
IIndependentObject GetObject( string classIdent, Id objectId ) |
| Visual C++ |
|---|
IIndependentObject^ GetObject( String^ classIdent, Id^ objectId ) |
| JavaScript |
|---|
function getObject(classIdent, objectId); |
Parameters
- classIdent
- Type: System..::.String
The class name of which this object will be an instance.
- objectId
- Type: FileNet.Api.Util..::.Id
The ID (GUID) of the object to retrieve.