OLEObject.Enabled Property (2003 System)
Gets or sets a value that indicates whether the OLEObject is enabled.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Public Property Enabled As Boolean
'Usage
Dim instance As OLEObject
Dim value As Boolean
value = instance.Enabled
instance.Enabled = value
public bool Enabled { get; set; }
Property Value
Type: System.Boolean
true if the OLEObject is enabled; otherwise, false.
Permissions
- 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.