次の方法で共有


_CommandBarButton.Control Property

Gets the control itself.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'宣言
ReadOnly Property Control As Object
Object Control { get; }

Property Value

Type: System.Object
The control.

Remarks

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

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

Control Overload

Microsoft.VisualStudio.CommandBars Namespace