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 命令
updateProfile.parserAssociation 参数