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 classIdentity As String _ 
) As IClassDescription
C#
public static IClassDescription GetInstance(
   IScope scope,
   string classIdentity
)
C++
public:
 static IClassDescription GetInstance(
   IScope scope,
   String classIdentity
)
J#
public static IClassDescription GetInstance(
   IScope scope,
   string classIdentity
)
JScript
public static  function GetInstance(
   scope : IScope,
   classIdentity : String
) : IClassDescription

Parameters

scope
The object to which this ClassDescription is scoped. For more information, see the IScope interface description.
classIdentity
A String that identifies the class. The value can be a class ID (in GUID format) or class symbolic name.

Return Value

The requested ClassDescription object.

See Also