Dela via


StorageFile.FolderRelativeId Property

Definition

Gets an identifier for the file. This ID is unique for the query result or StorageFolder that contains the file 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 = storageFile.folderRelativeId;
Public ReadOnly Property FolderRelativeId As String

Property Value

String

Platform::String

winrt::hstring

The identifier for the file.

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