Share via


UIResponder.GetTargetForAction(Selector, NSObject) Method

Definition

[Foundation.Export("targetForAction:withSender:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject? GetTargetForAction(ObjCRuntime.Selector action, Foundation.NSObject? sender);
[<Foundation.Export("targetForAction:withSender:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTargetForAction : ObjCRuntime.Selector * Foundation.NSObject -> Foundation.NSObject
override this.GetTargetForAction : ObjCRuntime.Selector * Foundation.NSObject -> Foundation.NSObject

Parameters

action
Selector
sender
NSObject

Returns

Attributes

Applies to