次の方法で共有


_CommandBarButton.Parent Property

Gets the parent command bar.

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

Syntax

'宣言
ReadOnly Property Parent As CommandBar
CommandBar Parent { get; }

Property Value

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

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

Parent Overload

Microsoft.VisualStudio.CommandBars Namespace