信息
您所需的主题如下所示。但此主题未包含在此库中。

IStorageItemProperties Interface

提供对项的公共和内容属性的访问(如文件和文件夹)。

语法


public interface class IStorageItemProperties

特性

[Version(0x06020000)]

成员

IStorageItemProperties接口 具有以下类型的成员:

方法

The IStorageItemProperties 接口 具有以下方法。 它还继承以下内容中的方法 Object 类.

方法描述
GetThumbnailAsync(ThumbnailMode) Retrieves an adjusted thumbnail image for the item, determined by the purpose of the thumbnail.
GetThumbnailAsync(ThumbnailMode, UInt32) Retrieves an adjusted thumbnail image for the item, determined by the purpose of the thumbnail and the requested size.
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.

 

属性

IStorageItemProperties接口 具有以下属性。

属性访问类型描述

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.

 

要求

最低受支持的客户端

Windows 8

最低受支持的服务器

Windows Server 2012

最低受支持的电话

Windows Phone 8

命名空间

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

元数据

Windows.winmd

 

 

显示: