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)
Visual Basic (Declaration) |
---|
Public Shared Function GetInstance ( _
scope As IScope, _
classIdentity As String _
) As IClassDescription |
JavaScript |
---|
FileNet.Api.Core.ClassDescription.getInstance = function(scope, classIdentity); |
Parameters
- scope
- Type: FileNet.Api.Core..::.IScope
The object to which this ClassDescription is scoped.
For more information, see the IScope
interface description.
- classIdentity
- Type: System..::.String
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.