CreateNot

SearchDocumentFilter.CreateNot method

Creates a filter that has inverse logic in relation to the specified inner filter.

public static ISearchDocumentFilter CreateNot(ISearchDocumentFilter innerFilter)
Parameter Type Description
innerFilter ISearchDocumentFilter The inner search document filter.

Return Value

An inverted search document filter.

Exceptions

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

See Also