Office.RequirementSetSupport interface

Provides information about which Requirement Sets are supported in the current environment.

Methods

isSetSupported(name, minVersion)

Check if the specified requirement set is supported by the Office application.

isSetSupported(name, minVersionNumber)

Check if the specified requirement set is supported by the Office application.

Method Details

isSetSupported(name, minVersion)

Check if the specified requirement set is supported by the Office application.

isSetSupported(name: string, minVersion?: string): boolean;

Parameters

name

string

The requirement set name (e.g., "ExcelApi").

minVersion

string

The minimum required version (e.g., "1.4").

Returns

boolean

isSetSupported(name, minVersionNumber)

Warning

This API is now deprecated.

Use the string overload of isSetSupported instead.

Check if the specified requirement set is supported by the Office application.

isSetSupported(name: string, minVersionNumber?: number): boolean;

Parameters

name

string

The requirement set name (e.g., "ExcelApi").

minVersionNumber

number

The minimum required version (e.g., 1.4).

Returns

boolean