CreateOr

DocumentFilter.CreateOr method

Creates a logical disjunction of the specified filters.

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

Return Value

A 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