CreateOr

SearchDocumentFilter.CreateOr method

Creates a logical disjunction of the specified filters.

public static ISearchDocumentFilter CreateOr(params ISearchDocumentFilter[] filters)
Parameter Type Description
filters ISearchDocumentFilter[] The search document filters.

Return Value

A search document filter that represents the result of disjunction of the specified filters.

Exceptions

exception condition
ArgumentException The filters would be nested more than 128 levels deep.

See Also