Share via


NSApplication.TryToPerform(Selector, NSObject) Method

Definition

[Foundation.Export("tryToPerform:with:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool TryToPerform(ObjCRuntime.Selector anAction, Foundation.NSObject? target);
[<Foundation.Export("tryToPerform:with:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member TryToPerform : ObjCRuntime.Selector * Foundation.NSObject -> bool
override this.TryToPerform : ObjCRuntime.Selector * Foundation.NSObject -> bool

Parameters

anAction
Selector
target
NSObject

Returns

Attributes

Applies to