MenuBarAutomationPeer(MenuBar) 建構函式

定義

使用指定的MenuBar,初始化MenuBarAutomationPeer類別的新實例。

適用于 UWP 的對等 WinUI 2 APIMenuBarAutomationPeer (MenuBar) 建構函式 (適用于Windows 應用程式 SDK 的WinUI,請參閱Windows 應用程式 SDK命名空間) 。

 MenuBarAutomationPeer(MenuBar const& owner);
public MenuBarAutomationPeer(MenuBar owner);
function MenuBarAutomationPeer(owner)
Public Sub New (owner As MenuBar)

參數

owner
MenuBar

指定的 MenuBar

適用於