IStorageFolderQueryOperations.CreateFileQueryWithOptions(QueryOptions) 方法

定義

擷取具有指定選項的物件,以列舉儲存位置中的檔案,並訂閱儲存位置內容變更時引發的事件。

public:
 StorageFileQueryResult ^ CreateFileQueryWithOptions(QueryOptions ^ queryOptions);
StorageFileQueryResult CreateFileQueryWithOptions(QueryOptions const& queryOptions);
public StorageFileQueryResult CreateFileQueryWithOptions(QueryOptions queryOptions);
function createFileQueryWithOptions(queryOptions)
Public Function CreateFileQueryWithOptions (queryOptions As QueryOptions) As StorageFileQueryResult

參數

queryOptions
QueryOptions

篩選查詢結果的選項。

傳回

用於列舉檔案和訂閱事件的 物件。

適用於