Share via


MenuBar.Items 屬性

定義

取得最上層功能表項目的集合。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

public:
 property IVector<MenuBarItem ^> ^ Items { IVector<MenuBarItem ^> ^ get(); };
IVector<MenuBarItem> Items();
public IList<MenuBarItem> Items { get; }
Public ReadOnly Property Items As IList(Of MenuBarItem)

屬性值

最上層功能表項目的集合。

適用於