NSApplication.TargetForAction 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
返回
- 属性