共用方式為


NSStatusItem.PopUpStatusItemMenu(NSMenu) 方法

定義

[Foundation.Export("popUpStatusItemMenu:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'Menu' instead.")]
public virtual void PopUpStatusItemMenu (AppKit.NSMenu menu);
abstract member PopUpStatusItemMenu : AppKit.NSMenu -> unit
override this.PopUpStatusItemMenu : AppKit.NSMenu -> unit

參數

menu
NSMenu
屬性

適用於