Office.RequirementSetSupport interface
提供有关当前环境中支持哪些要求集的信息。
方法
is |
检查 Office 应用程序是否支持指定的要求集。 |
is |
检查 Office 应用程序是否支持指定的要求集。 警告:此重载 |
方法详细信息
isSetSupported(name, minVersion)
检查 Office 应用程序是否支持指定的要求集。
isSetSupported(name: string, minVersion?: string): boolean;
参数
- name
-
string
要求集名称 (例如“ExcelApi”) 。
- minVersion
-
string
所需的最低版本 (例如“1.4”) 。
返回
boolean
isSetSupported(name, minVersionNumber)
警告
现已弃用此 API。
Use the string overload of isSetSupported
instead.
检查 Office 应用程序是否支持指定的要求集。
警告:此重载 isSetSupported
(,其中 minVersionNumber
是一个数字) 已被弃用。 请改用 的 isSetSupported
字符串重载。
isSetSupported(name: string, minVersionNumber?: number): boolean;
参数
- name
-
string
要求集名称 (例如“ExcelApi”) 。
- minVersionNumber
-
number
所需的最低版本 (例如 1.4) 。
返回
boolean
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈