IStorageItemProperties Interface

Definition

Provides access to common and content properties on items (like files and folders).

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2254849144, 32809, 18174, 167, 137, 28, 47, 62, 47, 251, 92)]
public interface IStorageItemProperties
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

DisplayName

Gets the user-friendly name of the item.

DisplayType

Gets the user-friendly type of the item.

FolderRelativeId

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.

Properties

Gets an object that provides access to the content-related properties of the item.

Methods

GetThumbnailAsync(ThumbnailMode, UInt32, ThumbnailOptions)

Retrieves an adjusted thumbnail image for the item, determined by the purpose of the thumbnail, the requested size, and the specified options.

GetThumbnailAsync(ThumbnailMode, UInt32)

Retrieves an adjusted thumbnail image for the item, determined by the purpose of the thumbnail and the requested size.

GetThumbnailAsync(ThumbnailMode)

Retrieves an adjusted thumbnail image for the item, determined by the purpose of the thumbnail.

Applies to

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

See also