Delen via


MenuBarItemAutomationPeer(MenuBarItem) Constructor

Definition

Initializes a new instance of the MenuBarItemAutomationPeer class using the specified MenuBarItem.

Equivalent WinUI 2 API for UWP: MenuBarItemAutomationPeer(MenuBarItem) Constructor (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

 MenuBarItemAutomationPeer(MenuBarItem const& owner);
public MenuBarItemAutomationPeer(MenuBarItem owner);
function MenuBarItemAutomationPeer(owner)
Public Sub New (owner As MenuBarItem)

Parameters

owner
MenuBarItem

The specified MenuBarItem.

Applies to