Condividi tramite


CommandBar.Parent Property

Gets the parent of this command bar.

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

Syntax

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

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

Property Value

Type: System.Object
If there is a parent command bar, returns the command bar, otherwise returns the DTE object.

.NET Framework Security

See Also

Reference

CommandBar Interface

CommandBar Members

Microsoft.VisualStudio.CommandBars Namespace