編輯

共用方式為


NSCustomTouchBarItem Constructors

Definition

Overloads

NSCustomTouchBarItem(NSCoder)
NSCustomTouchBarItem(NSObjectFlag)
NSCustomTouchBarItem(IntPtr)
NSCustomTouchBarItem(String)

NSCustomTouchBarItem(NSCoder)

[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSCustomTouchBarItem (Foundation.NSCoder coder);
new AppKit.NSCustomTouchBarItem : Foundation.NSCoder -> AppKit.NSCustomTouchBarItem

Parameters

coder
NSCoder
Attributes

Applies to

NSCustomTouchBarItem(NSObjectFlag)

protected NSCustomTouchBarItem (Foundation.NSObjectFlag t);
new AppKit.NSCustomTouchBarItem : Foundation.NSObjectFlag -> AppKit.NSCustomTouchBarItem

Parameters

Applies to

NSCustomTouchBarItem(IntPtr)

protected internal NSCustomTouchBarItem (IntPtr handle);
new AppKit.NSCustomTouchBarItem : nativeint -> AppKit.NSCustomTouchBarItem

Parameters

handle
IntPtr

nativeint

Applies to

NSCustomTouchBarItem(String)

[Foundation.Export("initWithIdentifier:")]
[ObjCRuntime.DesignatedInitializer]
public NSCustomTouchBarItem (string identifier);
new AppKit.NSCustomTouchBarItem : string -> AppKit.NSCustomTouchBarItem

Parameters

identifier
String
Attributes

Applies to