Creates a new object of the specified class and ID.

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

ToggleSyntax

Visual Basic (Declaration)
Function CreateObject ( _
	classIdent As String, _
	objectId As Id _
) As IIndependentObject
C#
IIndependentObject CreateObject(
	string classIdent,
	Id objectId
)
Visual C++
IIndependentObject^ CreateObject(
	String^ classIdent, 
	Id^ objectId
)
JavaScript
function createObject(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) to assign to the new object.

Return Value

An object reference of the requested type.

ToggleSee Also