Share via


NSViewController.TryToPerformwith(Selector, NSObject) Method

Definition

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

Parameters

anAction
Selector
anObject
NSObject

Returns

Attributes

Applies to