Share via


2.2.159 MailHost

Target namespace: http://schemas.microsoft.com/office/mailappversionoverrides/1.1

Defines a headless MailApp host details, its supported form factors, and settings for each.

Child Elements:

Runtimes: A Runtimes element that specifies the controls that will be used to run your add-in.

DesktopFormFactor: A FormFactorWithSupportsSharedFolders element that specifies the settings of the mail add-in when running in a desktop version of the host.

MobileFormFactor: A FormFactor element that specifies the behavior of the app when running in a mobile version of the host.

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

 <xs:complexType name="MailHost">
   <xs:complexContent>
     <xs:extension base="Host">
       <xs:sequence>
         <xs:element name="Runtimes" type="Runtimes" minOccurs="0" maxOccurs="1"/>
         <xs:element name="DesktopFormFactor" type="FormFactorWithSupportsSharedFolders" minOccurs="0" maxOccurs="1"/>
         <xs:element name="MobileFormFactor" type="FormFactor" minOccurs="0" maxOccurs="1"/>
       </xs:sequence>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

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