Share via


CommandBarPopup.CommandBar Property 

Returns a CommandBar object that represents the menu displayed by the specified pop-up control.

Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)

Usage

Dim commandBarPopup1 As CommandBarPopup

Dim returnValue As CommandBar
returnValue = commandBarPopup1.CommandBar

Syntax

ReadOnly Property CommandBar() As CommandBar
CommandBar CommandBar {get;}
property CommandBar^ CommandBar{
    CommandBar^ get();
}
public CommandBar get_CommandBar();
function get CommandBar() : CommandBar;

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

CommandBarPopup Interface
Microsoft.Office.Core Namespace

Other Resources

CommandBarPopup Members