共用方式為


ActionsPane.AutoRecover Property

Gets or sets a value that indicates whether the actions pane solution automatically re-attaches to the document when it is detached.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Property AutoRecover As Boolean
bool AutoRecover { get; set; }

Property Value

Type: System.Boolean
true if the actions pane solution automatically re-attaches to the document; otherwise, false. The default value is true.

Remarks

If this property is set to true, users are not allowed to detach the actions pane solution. This is also a mitigation technique for accidental removal of the actions pane solution. To force detaching the actions pane solution from the document, use the Clear method.

.NET Framework Security

See Also

Reference

ActionsPane Interface

Microsoft.Office.Tools Namespace

Other Resources

Actions Pane Overview