CommandBar.Parent Property
Gets the parent of this command bar.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'宣告
ReadOnly Property Parent As Object
Object Parent { get; }
Property Value
Type: System.Object
If there is a parent command bar, returns the command bar, otherwise returns the DTE object.
.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.