<uap3:FileTypeAssociation
Name = 'A string with a value between 1 and 100 characters in length.'
DesiredView = 'An optional string that can have one of the following values: "default", "useLess", "useHalf", "useMore", or "useMinimum".'
desktop2:UseUrl = 'An optional boolean value.'
desktop2:AllowSilentDefaultTakeOver = 'An optional boolean value.'
desktop5:ThumbnailTypeOverlay = 'A string with a value between 1 and 256 characters in length that ends with ".jpg", ".png", or ".jpeg" that cannot contain these characters: <, >, :, ", |, ?, or *. In this string, the / and \ characters cannot be the first or last characters. Also, the string can contain / or \ but not both.'
Parameters = 'An optional string with a value between 1 and 32767 characters.'
MultiSelectModel = 'An optional string that can have one of the following values: "Player", "Document", or "Single".' >
<!-- Child elements -->
uap:DisplayName?
& uap:Logo?
& uap:InfoTip?
& uap:EditFlags?
& uap:SupportedFileTypes?
& uap2:SupportedVerbs?
& uap4:KindMap?
& rescap3:MigrationProgIds?
& desktop2:ThumbnailHandler?
& desktop2:OleClass?
& desktop2:DesktopPreviewHandler?
& desktop2:DesktopPropertyHandler?
& desktop3:PropertyLists?
& desktop7:Logo?
& desktop7:ProgId?
& desktop10:IconHandler?
</uap3:FileTypeAssociation>
特性
属性
说明
数据类型
必须
默认值
名称
文件类型关联的名称。 此名称可用于组织和分组文件类型。 该名称必须是不带空格的小写字符。
值长度介于 1 到 100 个字符之间的字符串。
是
DesiredView
启动应用时要使用的屏幕空间量。 此视图模式首选项只是请求的值。 你指定的首选大小不保证由 Windows 遵循,因此你不应编写依赖于永远不会进入小于首选最小大小或大于首选最大大小的代码。