ActionsPane.AutoRecover Property (2007 System)
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.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Property AutoRecover As Boolean
'Usage
Dim instance As ActionsPane
Dim value As Boolean
value = instance.AutoRecover
instance.AutoRecover = value
public bool AutoRecover { get; set; }
public:
property bool AutoRecover {
bool get ();
void set (bool value);
}
public function get AutoRecover () : boolean
public function set AutoRecover (value : boolean)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools Namespace