IndexerOption IndexerOption IndexerOption IndexerOption IndexerOption Enum

Definition

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.

public : enum class IndexerOption
enum class winrt::Windows::Storage::Search::IndexerOption : int32_t
public enum IndexerOption
Public Enum IndexerOption
var value = Windows.Storage.Search.IndexerOption.doNotUseIndexer;
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

DoNotUseIndexer DoNotUseIndexer DoNotUseIndexer DoNotUseIndexer DoNotUseIndexer 2

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

OnlyUseIndexer OnlyUseIndexer OnlyUseIndexer OnlyUseIndexer OnlyUseIndexer 1

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

OnlyUseIndexerAndOptimizeForIndexedProperties OnlyUseIndexerAndOptimizeForIndexedProperties OnlyUseIndexerAndOptimizeForIndexedProperties OnlyUseIndexerAndOptimizeForIndexedProperties OnlyUseIndexerAndOptimizeForIndexedProperties 3

Only returns the properties specified in QueryOptions.SetPropertyPrefetch for faster results.

UseIndexerWhenAvailable UseIndexerWhenAvailable UseIndexerWhenAvailable UseIndexerWhenAvailable UseIndexerWhenAvailable 0

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

Remarks

Version history

Windows version SDK version Value added
1709 16299 OnlyUseIndexerAndOptimizeForIndexedProperties