共用方式為


NSControl.SendAction(Selector, NSObject) 方法

定義

[Foundation.Export("sendAction:to:")]
public virtual bool SendAction (ObjCRuntime.Selector theAction, Foundation.NSObject theTarget);
abstract member SendAction : ObjCRuntime.Selector * Foundation.NSObject -> bool
override this.SendAction : ObjCRuntime.Selector * Foundation.NSObject -> bool

參數

theAction
Selector
theTarget
NSObject

傳回

屬性

適用於