Methods element

The meaning of this element depends on where it's used in the manifest.

In the base manifest

When used in the base manifest (that is, the parent <Requirements> element is a direct child of OfficeApp), the <Methods> element specifies the list of Office JavaScript API methods that your Office Add-in needs in order to be activated by Office.

Add-in type: Content, Task pane

As a grandchild of a VersionOverrides element

Specifies the minimum set of Office JavaScript API methods that must be supported by the Office version and platform (such as Windows, Mac, web, and iOS or iPad) in order for the VersionOverrides to take effect.

Add-in type: Task pane, Mail

Valid only in these VersionOverrides schemas:

Associated with these requirement sets:

Syntax

<Methods>
   ...
</Methods>

Contained in

Can contain

Remarks

The <Methods> and <Method> elements aren't supported in mail add-ins when used in the base manifest. For more information about requirement sets, see Office versions and requirement sets.