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
    Get
用法
Dim instance As CommandBarButtonClass
Dim value As Object

value = instance.Control
public virtual Object Control { get; }
public:
virtual property Object^ Control {
    Object^ get ();
}
abstract Control : Object
override Control : Object
function get Control () : Object

Property Value

Type: System.Object
The control.

Implements

_CommandBarButton.Control

Remarks

Controls do not contain other controls, so this property always returns the control itself.

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace