Constructs an instance of the
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)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function GetInstance( _ ByVal os As IObjectStore, _ ByVal objectId As Id _ ) As IDocumentClassDefinition |
C# |
---|
public static IDocumentClassDefinition GetInstance( IObjectStore os, Id objectId ) |
C++ |
---|
public: static IDocumentClassDefinition GetInstance( IObjectStore os, Id objectId ) |
J# |
---|
public static IDocumentClassDefinition GetInstance( IObjectStore os, Id objectId ) |
JScript |
---|
public static
function GetInstance( os : IObjectStore, objectId : Id ) : IDocumentClassDefinition |
Parameters
- os
- The
object in which to persist the object.ObjectStore
- objectId
- The ID (GUID) of this class instance.
Return Value
A reference to an object of the requested type.