IStorageItemProperties.FolderRelativeId property

Applies to Windows and Windows Phone

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

Syntax


string FolderRelativeId { get; }

Property value

Type: System.String [.NET] | Platform::String [C++]

The identifier for the item within the query result or StorageFolder.

Remarks

The current item could be a file, folder, or file group.

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

See also

IStorageItemProperties

 

 

Show:
© 2014 Microsoft