Condividi tramite


_CommandBarButton.Parent Property

Gets the parent command bar.

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

Syntax

'Dichiarazione
ReadOnly Property Parent As CommandBar
    Get
'Utilizzo
Dim instance As _CommandBarButton
Dim value As CommandBar

value = instance.Parent
CommandBar Parent { get; }
property CommandBar^ Parent {
    CommandBar^ get ();
}
abstract Parent : CommandBar
function get Parent () : CommandBar

Property Value

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

Implements

CommandBarControl.Parent

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

_CommandBarButton Members

Parent Overload

Microsoft.VisualStudio.CommandBars Namespace