Edit

OfficeRuntime.ApiInformation interface

Warning

This API is now deprecated.

This API returns inaccurate values when used on desktop applications. Use Office.context.requirements.isSetSupported instead.

Interface that contains methods for checking API requirement-set support.

Methods

isSetSupported(name, minVersion)

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

Method Details

isSetSupported(name, minVersion)

Warning

This API is now deprecated.

This API returns inaccurate values when used on desktop applications. Use Office.context.requirements.isSetSupported instead.

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

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

Parameters

name

string

Set name; e.g., "MatrixBindings".

minVersion

string

The minimum required version; e.g., "1.4".

Returns

boolean