Constructs an instance of the subclassable DynamicReferentialContainmentRelationship 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 className As String,  _ 
   ByVal objectId As Id _ 
) As IDynamicReferentialContainmentRelationship
C#
public static IDynamicReferentialContainmentRelationship GetInstance(
   IObjectStore os,
   string className,
   Id objectId
)
C++
public:
 static IDynamicReferentialContainmentRelationship GetInstance(
   IObjectStore os,
   String className,
   Id objectId
)
J#
public static IDynamicReferentialContainmentRelationship GetInstance(
   IObjectStore os,
   string className,
   Id objectId
)
JScript
public static  function GetInstance(
   os : IObjectStore,
   className : String,
   objectId : Id
) : IDynamicReferentialContainmentRelationship

Parameters

os
The object store for this instance.
className
The name of the class.
objectId
The ID (GUID) of this class instance. Specifying an ID for this instance is optional; if one is not specified, an ID for the new object is automatically generated.

Return Value

A reference to an object of the requested type.

See Also