_CommandBarButton.Parent Property

Gets the parent command bar.

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

Syntax

'Declaração
ReadOnly Property Parent As CommandBar
CommandBar Parent { get; }

Property Value

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

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

Parent Overload

Microsoft.VisualStudio.CommandBars Namespace