Share via


UICommand.Create Method

Definition

Overloads

Create(String, UIImage, Selector, NSObject)

[Foundation.Export("commandWithTitle:image:action:propertyList:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UICommand Create(string title, UIKit.UIImage? image, ObjCRuntime.Selector action, Foundation.NSObject? propertyList);
[<Foundation.Export("commandWithTitle:image:action:propertyList:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : string * UIKit.UIImage * ObjCRuntime.Selector * Foundation.NSObject -> UIKit.UICommand

Parameters

title
String
image
UIImage
action
Selector
propertyList
NSObject

Returns

Attributes

Applies to

Create(String, UIImage, Selector, NSObject, UICommandAlternate[])

[Foundation.Export("commandWithTitle:image:action:propertyList:alternates:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UICommand Create(string title, UIKit.UIImage? image, ObjCRuntime.Selector action, Foundation.NSObject? propertyList, UIKit.UICommandAlternate[] alternates);
[<Foundation.Export("commandWithTitle:image:action:propertyList:alternates:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : string * UIKit.UIImage * ObjCRuntime.Selector * Foundation.NSObject * UIKit.UICommandAlternate[] -> UIKit.UICommand

Parameters

title
String
image
UIImage
action
Selector
propertyList
NSObject
alternates
UICommandAlternate[]

Returns

Attributes

Applies to