Retrieves an instance of this class from the specified object store using the supplied path. 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, _
	className As String, _
	path As String _
) As ICustomObject
C#
public static ICustomObject GetInstance(
	IObjectStore os,
	string className,
	string path
)
Visual C++
public:
static ICustomObject^ GetInstance(
	IObjectStore^ os, 
	String^ className, 
	String^ path
)
JavaScript
FileNet.Api.Core.CustomObject.getInstance = function(os, className, path);

Parameters

os
Type: FileNet.Api.Core..::.IObjectStore
The object store from which to retrieve this instance.
className
Type: System..::.String
The name of the class to retrieve. If null, the default root CustomObject class is assumed.
path
Type: System..::.String
The full path name of the object to retrieve.

Return Value

A reference to the specified CustomObject object.

ToggleSee Also