Creates a new object of the specified class and ID.


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

Syntax

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

Parameters

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

Return Value

An object reference of the requested type.

See Also