NSApplication.TargetForAction 方法

定义

重载

TargetForAction(Selector)
TargetForAction(Selector, NSObject, NSObject)

TargetForAction(Selector)

[Foundation.Export("targetForAction:")]
public virtual Foundation.NSObject TargetForAction (ObjCRuntime.Selector theAction);
abstract member TargetForAction : ObjCRuntime.Selector -> Foundation.NSObject
override this.TargetForAction : ObjCRuntime.Selector -> Foundation.NSObject

参数

theAction
Selector

返回

属性

适用于

TargetForAction(Selector, NSObject, NSObject)

[Foundation.Export("targetForAction:to:from:")]
public virtual Foundation.NSObject TargetForAction (ObjCRuntime.Selector theAction, Foundation.NSObject theTarget, Foundation.NSObject sender);
abstract member TargetForAction : ObjCRuntime.Selector * Foundation.NSObject * Foundation.NSObject -> Foundation.NSObject
override this.TargetForAction : ObjCRuntime.Selector * Foundation.NSObject * Foundation.NSObject -> Foundation.NSObject

参数

theAction
Selector
theTarget
NSObject
sender
NSObject

返回

属性

适用于