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)

Syntax

Visual Basic (Declaration)
Public Shared Function GetInstance( _ 
   ByVal scope As IScope,  _ 
   ByVal classId As Id _ 
) As IClassDescription
C#
public static IClassDescription GetInstance(
   IScope scope,
   Id classId
)
C++
public:
 static IClassDescription GetInstance(
   IScope scope,
   Id classId
)
J#
public static IClassDescription GetInstance(
   IScope scope,
   Id classId
)
JScript
public static  function GetInstance(
   scope : IScope,
   classId : Id
) : IClassDescription

Parameters

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

Return Value

The requested ClassDescription object.

See Also