自定义文件格式的 System-Defined 属性

Microsoft Windows 提供了许多可用于文件格式的系统属性。 如果要创建自定义文件格式,则应支持尽可能多的系统定义属性。 在创建自定义属性处理程序之前,应查看系统提供的处理程序,以查看是否可以使用一个处理程序,而不是编写自己的处理程序。

下表对文件格式进行分类,然后列出文件格式应支持的最重要系统属性。 若要提供良好的用户体验,应支持文件格式类别的所有优先级 1 和 2 个属性。

通信

名字 财产 优先权
收到的日期 System.Message.DateReceived 1
从名称 System.Message.FromName 1
具有附件 System.Message.HasAttachments 1
邮箱 System.Communication.storeddisplayname 1
名字 System.FileName 1
主题 System.Subject 1
名称 System.Message.ToName 1
类别 System.Category 2
类型 System.PerceivedType 2

 

接触

名字 财产 优先权
帐户名称 System.Communication.AccountName 1
商务电话 System.Contact.BusinessTelephone 1
公司 System.Company 1
电子邮件地址 System.Contact.PrimaryEmailAddress 1
重要性 System.ImportanceText 1
移动电话 System.Contact.MobileTelephone 1
业务地址 System.Contact.BusinessAddress 2
商务传真 System.Contact.BusinessFaxNumber 2
类别 System.Category 2
家庭地址 System.Contact.HomeAddress 2
家庭电话 System.Contact.HomeTelephone 2
标题 System.Title 2

 

文件

名字 财产 优先权
作者 System.Author 1
全文 System.FullText 1
标签 System.Keywords 1
类型 System.PerceivedType 1
类别 System.Category 2
标题 System.Title 2

 

通用

名字 财产 优先权
作者 System.Author 1
标题 System.Title 1
类型 System.PerceivedType 1
类别 System.Category 2
标签 System.Keywords 2

 

音乐

名字 财产 优先权
# System.Music.TrackNumber 1
影集 System.Music.AlbumTitle 1
艺术家 System.Music.Artist 1
类型 System.Music.Genre 1
额定值 System.Rating 1
标题 System.Title 1
专辑艺术家 System.Music.AlbumArtist 2
比特率 System.Audio.EncodingBitrate 2
导体 System.Music.Conductor 2
长度 System.Media.Duration 2
保护 System.DRM.IsProtected 2
System.Media.Year 2

 

图片

名字 财产 优先权
导入日期 System.DateImported 1
拍摄日期 System.Photo.DateTaken 1
额定值 System.Rating 1
标签 System.Keywords 1
类型 System.PerceivedType 1
作者 System.Author 2
相机制造商 System.Photo.CameraManufacturer 2
相机模型 System.Photo.CameraModel 2
评论 System.Comment 2
尺寸 System.Image.Dimensions 2

 

视频

名字 财产 优先权
长度 System.Media.Duration 1
额定值 System.Rating 1
标签 System.Keywords 1
类型 System.PerceivedType 1
框架高度 System.Video.FrameHeight 2
框架宽度 System.Video.FrameWidth 2

 

概念

开发 Windows 搜索 的属性处理程序

其他资源

属性系统

系统属性