共用方式為


NSWindow.InsertTitlebarAccessoryViewController 方法

定義

[Foundation.Export("insertTitlebarAccessoryViewController:atIndex:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void InsertTitlebarAccessoryViewController (AppKit.NSTitlebarAccessoryViewController childViewController, nint index);
abstract member InsertTitlebarAccessoryViewController : AppKit.NSTitlebarAccessoryViewController * nint -> unit
override this.InsertTitlebarAccessoryViewController : AppKit.NSTitlebarAccessoryViewController * nint -> unit

參數

childViewController
NSTitlebarAccessoryViewController
index
System.System.IntPtr System.nativeint
屬性

適用於