SearchFilter.SearchFilterCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| SearchFilter.SearchFilterCollection() |
Initializes a new instance of the SearchFilter.SearchFilterCollection class. |
| SearchFilter.SearchFilterCollection(LogicalOperator) |
Initializes a new instance of the SearchFilter.SearchFilterCollection class with the specified logical operator. |
| SearchFilter.SearchFilterCollection(LogicalOperator, SearchFilter[]) |
Initializes a new instance of the SearchFilter.SearchFilterCollection class with the specified logical operator and search filters. |
| SearchFilter.SearchFilterCollection(LogicalOperator, IEnumerable<SearchFilter>) |
Initializes a new instance of the SearchFilter.SearchFilterCollection class with the specified logical operator and search filters. |
SearchFilter.SearchFilterCollection()
Initializes a new instance of the SearchFilter.SearchFilterCollection class.
public:
SearchFilterCollection();
public SearchFilterCollection();
Public Sub New ()
Remarks
After initialization, the LogicalOperator property is set to And.
Applies to
SearchFilter.SearchFilterCollection(LogicalOperator)
Initializes a new instance of the SearchFilter.SearchFilterCollection class with the specified logical operator.
public:
SearchFilterCollection(Microsoft::Exchange::WebServices::Data::LogicalOperator logicalOperator);
public SearchFilterCollection(Microsoft.Exchange.WebServices.Data.LogicalOperator logicalOperator);
Parameters
- logicalOperator
- LogicalOperator
One of the LogicalOperator enumeration values.
Applies to
SearchFilter.SearchFilterCollection(LogicalOperator, SearchFilter[])
Initializes a new instance of the SearchFilter.SearchFilterCollection class with the specified logical operator and search filters.
public:
SearchFilterCollection(Microsoft::Exchange::WebServices::Data::LogicalOperator logicalOperator, ... cli::array <Microsoft::Exchange::WebServices::Data::SearchFilter ^> ^ searchFilters);
public SearchFilterCollection(Microsoft.Exchange.WebServices.Data.LogicalOperator logicalOperator, params Microsoft.Exchange.WebServices.Data.SearchFilter[] searchFilters);
Parameters
- logicalOperator
- LogicalOperator
One of the LogicalOperator enumeration values.
- searchFilters
- SearchFilter[]
The search filters to add to the collection.
Applies to
SearchFilter.SearchFilterCollection(LogicalOperator, IEnumerable<SearchFilter>)
Initializes a new instance of the SearchFilter.SearchFilterCollection class with the specified logical operator and search filters.
public:
SearchFilterCollection(Microsoft::Exchange::WebServices::Data::LogicalOperator logicalOperator, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::SearchFilter ^> ^ searchFilters);
public SearchFilterCollection(Microsoft.Exchange.WebServices.Data.LogicalOperator logicalOperator, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.SearchFilter> searchFilters);
Parameters
- logicalOperator
- LogicalOperator
One of the LogicalOperator enumeration values.
- searchFilters
- IEnumerable<SearchFilter>
The search filters to add to the collection.