Share via


StorageFolder.FolderRelativeId Property

Definition

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.

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

Property Value

String

Platform::String

winrt::hstring

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

Implements

Remarks

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