Share via


NSTouchBar.GetItemForIdentifier(String) Method

Definition

[Foundation.Export("itemForIdentifier:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSTouchBarItem? GetItemForIdentifier(string identifier);
[<Foundation.Export("itemForIdentifier:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetItemForIdentifier : string -> AppKit.NSTouchBarItem
override this.GetItemForIdentifier : string -> AppKit.NSTouchBarItem

Parameters

identifier
String

Returns

Attributes

Applies to