Retrieves the instance of the ClassDescription class specified by the given scope and class 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 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)

ToggleSyntax

Visual Basic (Declaration)
Public Shared Function GetInstance ( _
	scope As IScope, _
	classId As Id _
) As IClassDescription
C#
public static IClassDescription GetInstance(
	IScope scope,
	Id classId
)
Visual C++
public:
static IClassDescription^ GetInstance(
	IScope^ scope, 
	Id^ classId
)
JavaScript
FileNet.Api.Core.ClassDescription.getInstance = function(scope, classId);

Parameters

scope
Type: FileNet.Api.Core..::.IScope
The object to which this ClassDescription is scoped. For more information, see the IScope interface description.
classId
Type: FileNet.Api.Util..::.Id
The ID (GUID) of the requested class instance.

Return Value

The requested ClassDescription object.

ToggleSee Also