FormRegionCustomAction.Enabled Property (2007 System)
Gets or sets a value that indicates whether the FormRegionCustomAction is enabled for the form region.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook.v9.0 (in Microsoft.Office.Tools.Outlook.v9.0.dll)
Syntax
'Declaration
Public Property Enabled As Boolean
'Usage
Dim instance As FormRegionCustomAction
Dim value As Boolean
value = instance.Enabled
instance.Enabled = value
public bool Enabled { get; set; }
public:
property bool Enabled {
bool get ();
void set (bool value);
}
public function get Enabled () : boolean
public function set Enabled (value : boolean)
Property Value
Type: System.Boolean
true if the FormRegionCustomAction is enabled; otherwise, false. The default is true.
Remarks
If you set Enabled to false, the custom action will not appear in the Custom Actions group of the Ribbon when you open the item that displays the form region in Outlook.
.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.