編輯

共用方式為


Hosts element

Specifies the Office client applications where the Office Add-in will activate. Contains a collection of <Host> elements and their settings.

Add-in type: Content, Task pane, Mail

Syntax

<Hosts>
    <Host>Host1</Host>
</Hosts>

Contained in

Can contain

As child of VersionOverrides element

The information in this section applies only when the <Hosts> element is a child of a VersionOverrides.

This element overrides the <Hosts> element in the base manifest.

Add-in type: Task pane, Mail

Valid only in these VersionOverrides schemas:

  • Task pane 1.0
  • Mail 1.0
  • Mail 1.1

For more information, see Version overrides in the add-in only manifest.

Child elements

Element Required Description
Host Yes Describes a host and its settings.