Chili.Opf3 Send comments on this topic.
Context Property
See Also 
Chili.Opf3.Relations Namespace > ObjectHolderBase Class : Context Property




Specifies the ObjectContext associated with the ObjectHolder. The ObjectContext is used to load the related objects from the storage.

Syntax

Visual Basic (Declaration) 
Protected Property Context As ObjectContext
Visual Basic (Usage)Copy Code
Dim instance As ObjectHolderBase
Dim value As ObjectContext
 
instance.Context = value
 
value = instance.Context
C# 
protected ObjectContext Context {get; set;}
Managed Extensions for C++ 
protected: __property ObjectContext* get_Context();
protected: __property void set_Context( 
   ObjectContext* value
);
C++/CLI 
protected:
property ObjectContext^ Context {
   ObjectContext^ get();
   void set (ObjectContext^ value);
}

Return Value

The ObjectContext associated with the ObjectHolder or null.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also