Edit

Share via


NSTouchBarItem Constructors

Definition

Overloads

NSTouchBarItem(NSTouchBarItemIdentifier)
NSTouchBarItem(NSCoder)
NSTouchBarItem(NSObjectFlag)
NSTouchBarItem(IntPtr)
NSTouchBarItem(String)

NSTouchBarItem(NSTouchBarItemIdentifier)

public NSTouchBarItem (AppKit.NSTouchBarItemIdentifier identifier);
new AppKit.NSTouchBarItem : AppKit.NSTouchBarItemIdentifier -> AppKit.NSTouchBarItem

Parameters

Applies to

NSTouchBarItem(NSCoder)

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

Parameters

coder
NSCoder
Attributes

Applies to

NSTouchBarItem(NSObjectFlag)

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

Parameters

Applies to

NSTouchBarItem(IntPtr)

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

Parameters

handle
IntPtr

nativeint

Applies to

NSTouchBarItem(String)

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

Parameters

identifier
String
Attributes

Applies to