updateProfile.extensions 参数

使用 updateProfile.extensions 参数来列示与文档解析器相关联的所有文档名和扩展名。updateProfile.parserAssociation 参数用来指示与特定文档类型相关联的解析器。

可用性

query 命令
current 参数
default 参数
install 参数

作用域

updateProfile.extensions 的作用域为当前视图。
current.updateProfile.extensions 的作用域为当前视图。
default.updateProfile.extensions 的作用域为全局。
install.updateProfile.extensions 的作用域为全局。

语法

query updateProfile.extensions
query current.updateProfile.extensions
query default.updateProfile.extensions
query install.updateProfile.extensions 

描述

query current.updateProfile.extensions 命令返回在当前视图中定义的文档名和扩展名的列表。

query updateProfile.extensions 命令返回以前使用 set updateProfile.parserAssociation 命令时指定的文档名和扩展名的列表。

query default.updateProfile.extensions 命令返回以前使用 set default.updateProfile.parserAssociation 命令时指定的文档名和扩展名的列表。即,由 defaultProfile 参数指示的缺省概要文件中的文档类型。

query install.updateprofile.extensions 命令返回已安装的文档名和扩展名的列表,即,由 installProfile 参数指示的安装概要文件中的文档类型。

示例

query updateProfile.extensions
query current.updateProfile.extensions
query default.updateProfile.extensions
query install.updateProfile.extensions 

相关参考
query 命令
updateProfile 命令
defaultProfile 参数
installProfile 参数
updateProfile.parserAssociation 参数