SearchDocumentFilter

SearchDocumentFilter class

Contains methods for creating search document filters.

public static class SearchDocumentFilter

Methods

Name Description
static CreateAnd(params ISearchDocumentFilter[]) Creates a logical conjunction of the specified filters.
static CreateAttribute(params string[]) Creates a filter for skipping documents that do not have any value from the specified list of allowable attributes.
static CreateFileExtension(params string[]) Creates a filter for skipping documents that are not in the specified list of possible extensions.
static CreateFilePathRegularExpression(string) Creates a filter for skipping documents that are not match a regular expression. The regular expression is applied to the full path of a document.
static CreateFilePathRegularExpression(string, RegexOptions) Creates a filter for skipping documents that are not match a regular expression. The regular expression is applied to the full path of a document.
static CreateNot(ISearchDocumentFilter) Creates a filter that has inverse logic in relation to the specified inner filter.
static CreateOr(params ISearchDocumentFilter[]) Creates a logical disjunction of the specified filters.

Remarks

Learn more

See Also