CreateAnd

DocumentFilter.CreateAnd method

Creates a logical conjunction of the specified filters.

public static DocumentFilter CreateAnd(params DocumentFilter[] filters)
Parameter Type Description
filters DocumentFilter[] The document filters.

Return Value

A document filter that represents the result of conjunction of the specified filters.

Exceptions

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

See Also