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)

Syntax

Visual Basic (Declaration)
Public Shared Function GetInstance( _ 
   ByVal os As IObjectStore,  _ 
   ByVal path As String _ 
) As IPublishStyleTemplate
C#
public static IPublishStyleTemplate GetInstance(
   IObjectStore os,
   string path
)
C++
public:
 static IPublishStyleTemplate GetInstance(
   IObjectStore os,
   String path
)
J#
public static IPublishStyleTemplate GetInstance(
   IObjectStore os,
   string path
)
JScript
public static  function GetInstance(
   os : IObjectStore,
   path : String
) : IPublishStyleTemplate

Parameters

os
The object store from which to retrieve this instance.
path
The full path name of the object to retrieve.

Return Value

A reference to the specified IPublishStyleTemplate object.

See Also