IStorageQueryResultBase Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides methods to access to and manage query results.
public interface class IStorageQueryResultBase
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3264730893, 29523, 18347, 186, 88, 140, 97, 66, 93, 197, 75)]
struct IStorageQueryResultBase
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3264730893, 29523, 18347, 186, 88, 140, 97, 66, 93, 197, 75)]
public interface IStorageQueryResultBase
Public Interface IStorageQueryResultBase
- Derived
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Properties
Folder |
Gets the folder originally used to create a StorageFileQueryResult, StorageFolderQueryResult, or StorageItemQueryResult object. This folder represents the scope of the query. |
Methods
ApplyNewQueryOptions(QueryOptions) |
Applies new query options to the results retrieved by the StorageFileQueryResult, StorageFolderQueryResult, or StorageItemQueryResult object. |
FindStartIndexAsync(Object) |
Retrieves the index of the file from the query results that most closely matches the specified property value. The property that is matched is determined by the first SortEntry of the QueryOptions.SortOrder list. |
GetCurrentQueryOptions() |
Retrieves the query options used to create a StorageFileQueryResult, StorageFolderQueryResult, or StorageItemQueryResult object. |
GetItemCountAsync() |
Retrieves the number of items that match the query that created a StorageFileQueryResult, StorageFolderQueryResult, or StorageItemQueryResult object. |
Events
ContentsChanged |
Fires when an item is added, deleted or modified in the folder being queried. |
OptionsChanged |
Fires when the query options are changed for a StorageFileQueryResult, StorageFolderQueryResult, or StorageItemQueryResult object. |