CreateFileExtension

SearchDocumentFilter.CreateFileExtension method

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

public static ISearchDocumentFilter CreateFileExtension(params string[] extensions)
Parameter Type Description
extensions String[] The list of possible extensions.

Return Value

A search document filter by document extension.

See Also