UICommand.Create Method
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
| Name | Description |
|---|---|
| Create(String, UIImage, Selector, NSObject) | |
| Create(String, UIImage, Selector, NSObject, UICommandAlternate[]) |
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