StorageFolder.FolderRelativeId 屬性

定義

取得目前資料夾的識別碼。 此識別碼對於包含目前資料夾或檔案群組的查詢結果或 StorageFolder 而言是唯一的,而且可用來區別具有相同名稱的專案。

public:
 property Platform::String ^ FolderRelativeId { Platform::String ^ get(); };
winrt::hstring FolderRelativeId();
public string FolderRelativeId { get; }
var string = storageFolder.folderRelativeId;
Public ReadOnly Property FolderRelativeId As String

屬性值

String

Platform::String

winrt::hstring

查詢結果或 StorageFolder內目前資料夾或檔案群組的識別碼。

實作

備註

當您使用 StorageFolder 物件上的其中一種方法建立查詢時,您會建立查詢結果物件。 根據您呼叫的方法,您的查詢結果物件可以是 StorageFileQueryResultStorageFolderQueryResultStorageItemQueryResult 物件。

適用於