Compartilhar via


CommandBarButtonClass.Parent Property

Gets the parent command bar.

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

Syntax

'Declaration
Public Overridable ReadOnly Property Parent As CommandBar
public virtual CommandBar Parent { get; }
public:
virtual property CommandBar^ Parent {
    CommandBar^ get ();
}
abstract Parent : CommandBar with get 
override Parent : CommandBar with get
function get Parent () : CommandBar

Property Value

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

Implements

_CommandBarButton.Parent

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

Microsoft.VisualStudio.CommandBars Namespace