CommandBarButtonClass.Parent Property
Gets the parent command bar.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Dichiarazione
Public Overridable ReadOnly Property Parent As CommandBar
Get
'Utilizzo
Dim instance As CommandBarButtonClass
Dim value As CommandBar
value = instance.Parent
public virtual CommandBar Parent { get; }
public:
virtual property CommandBar^ Parent {
CommandBar^ get ();
}
abstract Parent : CommandBar
override Parent : CommandBar
function get Parent () : CommandBar
Property Value
Type: Microsoft.VisualStudio.CommandBars.CommandBar
The parent CommandBar.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.