SearchDocumentFilterCreateFileExtension Method
Creates a filter for skipping documents that are not in the specified list of possible extensions.

Namespace: GroupDocs.Search.Options
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 21.8.1
Syntax
public static ISearchDocumentFilter CreateFileExtension(
	params string[] extensions
)

Parameters

extensions
Type: SystemString
The list of possible extensions.

Return Value

Type: ISearchDocumentFilter
A search document filter by document extension.
See Also