Udostępnij za pośrednictwem


IStorageItemProperties Interface

Definition

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

public interface class IStorageItemProperties
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2254849144, 32809, 18174, 167, 137, 28, 47, 62, 47, 251, 92)]
struct IStorageItemProperties
[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
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

See also