NSWindow.TryToPerform(Selector, NSObject) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[Foundation.Export("tryToPerform:with:")]
public virtual bool TryToPerform (ObjCRuntime.Selector anAction, Foundation.NSObject anObject);
abstract member TryToPerform : ObjCRuntime.Selector * Foundation.NSObject -> bool
override this.TryToPerform : ObjCRuntime.Selector * Foundation.NSObject -> bool
参数
- anAction
- Selector
- anObject
- NSObject
返回
- 属性