Share via


_CommandBarButton.Parent Property

Gets the parent command bar.

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

Syntax

'Declaration
ReadOnly Property Parent As CommandBar
CommandBar Parent { get; }
property CommandBar^ Parent {
    CommandBar^ get ();
}
abstract Parent : CommandBar with get
function get Parent () : CommandBar

Property Value

Type: Microsoft.VisualStudio.CommandBars.CommandBar
The parent CommandBar.

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

Microsoft.VisualStudio.CommandBars Namespace