Share via


IStorageItemInformation 接口

定义

提供对文件系统中文件或文件夹属性的同步访问。

public interface class IStorageItemInformation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2275789707, 35186, 20288, 141, 224, 216, 111, 177, 121, 216, 250)]
struct IStorageItemInformation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2275789707, 35186, 20288, 141, 224, 216, 111, 177, 121, 216, 250)]
public interface IStorageItemInformation
Public Interface IStorageItemInformation
派生
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

属性

BasicProperties

获取一个 对象,该对象包含项的基本属性信息。

DocumentProperties

获取一个 对象,该对象提供对项的文档属性(例如标题、作者姓名等)的访问权限。

ImageProperties

获取一个 对象,该对象提供对项的图像属性的访问权限,例如标题、分级、拍摄图像的日期等。

MusicProperties

获取一个 对象,该对象提供对项的音乐属性的访问权限,例如专辑名称、艺术家名称、比特率等。

Thumbnail

获取与项关联的缩略图。

VideoProperties

获取一个 对象,该对象提供对项目视频属性的访问,例如持续时间、分级、发布日期等。

事件

PropertiesUpdated

更新项的一个或多个属性时发生。

ThumbnailUpdated

当更新项的缩略图或提供质量更好的缩略图时触发。

适用于