StorageFolder.FolderRelativeId Property


Gets an identifier for the current folder. This ID is unique for the query result or StorageFolder that contains the current folder or file group, and can be used to distinguish between items that have the same name.

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

Property Value


The identifier for the current folder or file group within a query result or StorageFolder.



You create a query result object when you create a query using one of the methods on a StorageFolder object. Depending on the method you call, your query result object could be a StorageFileQueryResult, a StorageFolderQueryResult, or a StorageItemQueryResult object.

Applies to