CommandBarButtonClass.Control Property
Gets the control itself.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'宣言
Public Overridable ReadOnly Property Control As Object
public virtual Object Control { get; }
Property Value
Type: System.Object
The control.
Implements
Remarks
Controls do not contain other controls, so this property always returns the control itself.
.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.