編輯

共用方式為


DefaultSettings element

Specifies the default source location and other default settings for your content or task pane add-in.

Add-in type: Content, Task pane

Syntax

<DefaultSettings>
  ...
</DefaultSettings>

Contained in

Can contain

The <DefaultSettings> element can contain the following child elements depending on the add-in type.

Element Content Mail TaskPane
SourceLocation Yes No Yes
RequestedWidth Yes No No
RequestedHeight Yes No No

Remarks

The source location and other settings in the <DefaultSettings> element apply only to content and task pane add-ins. For mail add-ins, you specify the default locations for source files and other default settings in the FormSettings element.