Share via


2.2.104 Methods

Target namespace: http://schemas.microsoft.com/office/officeappbasictypes/1.0

Specifies the list of required API methods of the Office.js API that the add-in requires in order to activate. The default version is inherited by child elements unless overridden in the given child element.

Child Elements:

Method: A VersionedRequirement element that specifies the version of the requirement.

Attributes:

DefaultMinVersion: A ShortVersion attribute that specifies short version of the requirement.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xs:complexType name="Methods">
   <xs:sequence>
     <xs:element name="Method" type="VersionedRequirement" minOccurs="1" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="DefaultMinVersion" type="ShortVersion" default="1.1"/>
 </xs:complexType>

See section 5.6 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).