IndexerOption IndexerOption IndexerOption IndexerOption Enum

Specifies whether the query should use the system index of the file system when enumerating content in the folder being queried. The indexer can retrieve results faster but is not available in all file locations.

Syntax

Declaration

public enum IndexerOptionpublic enum IndexerOptionPublic Enum IndexerOption

Fields

DoNotUseIndexer
DoNotUseIndexer
DoNotUseIndexer
DoNotUseIndexer

Access the file system directly; don't use the system index.

OnlyUseIndexer
OnlyUseIndexer
OnlyUseIndexer
OnlyUseIndexer

Use only indexed content and ignore content that has not been indexed.

UseIndexerWhenAvailable
UseIndexerWhenAvailable
UseIndexerWhenAvailable
UseIndexerWhenAvailable

Use the system index for content that has been indexed and use the file system directly for content that has not been indexed.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Storage.Search.dll