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




context
ObjectContext used by the ObjectSearcher to execute the search.
Creates a new instance of the ObjectSearcher Class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal context As ObjectContext _
)
Visual Basic (Usage)Copy Code
Dim context As ObjectContext
 
Dim instance As ObjectSearcher(Of T)(context)
C# 
public Generic ObjectSearcher( 
   ObjectContext context
)
Managed Extensions for C++ 
public: Generic ObjectSearcher( 
   ObjectContext* context
)
C++/CLI 
public:
Generic ObjectSearcher( 
   ObjectContext^ context
)

Parameters

context
ObjectContext used by the ObjectSearcher to execute the search.

Exceptions

ExceptionDescription
ArgumentNullExceptionContext is null.

Requirements

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

See Also