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




Specifies the ObjectContext used by this ObjectSearcher.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Context As ObjectContext
Visual Basic (Usage)Copy Code
Dim instance As ObjectSearcher(Of T)
Dim value As ObjectContext
 
value = instance.Context
C# 
public ObjectContext Context {get;}
Managed Extensions for C++ 
public: __property ObjectContext* get_Context();
C++/CLI 
public:
property ObjectContext^ Context {
   ObjectContext^ get();
}

Exceptions

ExceptionDescription
ArgumentNullExceptionContext is null.

Requirements

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

See Also