Constructs an instance of the VersionableClassDefinition class from the specified object store. 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 type 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 ( _
	os As IObjectStore, _
	objectId As Id _
) As IVersionableClassDefinition
C#
public static IVersionableClassDefinition GetInstance(
	IObjectStore os,
	Id objectId
)
Visual C++
public:
static IVersionableClassDefinition^ GetInstance(
	IObjectStore^ os, 
	Id^ objectId
)
JavaScript
FileNet.Api.Core.VersionableClassDefinition.getInstance = function(os, objectId);

Parameters

os
Type: FileNet.Api.Core..::.IObjectStore
The ObjectStore object in which to persist the object.
objectId
Type: FileNet.Api.Util..::.Id
The ID (GUID) of this class instance.

Return Value

A reference to an object of the requested type.

ToggleSee Also