NSTouchBarItem 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
NSTouchBarItem(NSTouchBarItemIdentifier) | |
NSTouchBarItem(NSCoder) | |
NSTouchBarItem(NSObjectFlag) | |
NSTouchBarItem(IntPtr) | |
NSTouchBarItem(String) |
NSTouchBarItem(NSTouchBarItemIdentifier)
public NSTouchBarItem (AppKit.NSTouchBarItemIdentifier identifier);
new AppKit.NSTouchBarItem : AppKit.NSTouchBarItemIdentifier -> AppKit.NSTouchBarItem
參數
- identifier
- NSTouchBarItemIdentifier
適用於
NSTouchBarItem(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSTouchBarItem (Foundation.NSCoder coder);
new AppKit.NSTouchBarItem : Foundation.NSCoder -> AppKit.NSTouchBarItem
參數
- coder
- NSCoder
- 屬性
適用於
NSTouchBarItem(NSObjectFlag)
protected NSTouchBarItem (Foundation.NSObjectFlag t);
new AppKit.NSTouchBarItem : Foundation.NSObjectFlag -> AppKit.NSTouchBarItem
參數
適用於
NSTouchBarItem(IntPtr)
protected internal NSTouchBarItem (IntPtr handle);
new AppKit.NSTouchBarItem : nativeint -> AppKit.NSTouchBarItem
參數
- handle
-
IntPtr
nativeint
適用於
NSTouchBarItem(String)
[Foundation.Export("initWithIdentifier:")]
[ObjCRuntime.DesignatedInitializer]
public NSTouchBarItem (string identifier);
new AppKit.NSTouchBarItem : string -> AppKit.NSTouchBarItem
參數
- identifier
- String
- 屬性