IndexerOption
IndexerOption
IndexerOption
IndexerOption
Enum
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
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 IndexerOptionpublic enum IndexerOptionPublic Enum IndexerOption// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
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. |
| OnlyUseIndexerAndOptimizeForIndexedProperties OnlyUseIndexerAndOptimizeForIndexedProperties OnlyUseIndexerAndOptimizeForIndexedProperties OnlyUseIndexerAndOptimizeForIndexedProperties | Prerelease. Only returns the properties specified in QueryOptions.SetPropertyPrefetch for faster results. |
| 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. |