NSTouchBarItem Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- identifier
- NSTouchBarItemIdentifier
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