Share via


UIApplication.SendAction(Selector, NSObject, NSObject, UIEvent) Method

Definition

[Foundation.Export("sendAction:to:from:forEvent:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool SendAction(ObjCRuntime.Selector action, Foundation.NSObject? target, Foundation.NSObject? sender, UIKit.UIEvent? forEvent);
[<Foundation.Export("sendAction:to:from:forEvent:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SendAction : ObjCRuntime.Selector * Foundation.NSObject * Foundation.NSObject * UIKit.UIEvent -> bool
override this.SendAction : ObjCRuntime.Selector * Foundation.NSObject * Foundation.NSObject * UIKit.UIEvent -> bool

Parameters

action
Selector
target
NSObject
sender
NSObject
forEvent
UIEvent

Returns

Attributes

Applies to