共用方式為


NSViewController.TryToPerformwith(Selector, NSObject) 方法

定義

[Foundation.Export("tryToPerform:with:")]
public virtual bool TryToPerformwith (ObjCRuntime.Selector anAction, Foundation.NSObject anObject);
override this.TryToPerformwith : ObjCRuntime.Selector * Foundation.NSObject -> bool

參數

anAction
Selector
anObject
NSObject

傳回

屬性

適用於