NSResponder.TryToPerformwith(Selector, NSObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use 'TryToPerformWith' instead.
[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)]
[System.Obsolete("Use 'TryToPerformWith' instead.", false)]
public virtual bool TryToPerformwith(ObjCRuntime.Selector anAction, Foundation.NSObject? anObject);
[<Foundation.Export("tryToPerform:with:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member TryToPerformwith : ObjCRuntime.Selector * Foundation.NSObject -> bool
override this.TryToPerformwith : ObjCRuntime.Selector * Foundation.NSObject -> bool
[<Foundation.Export("tryToPerform:with:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<System.Obsolete("Use 'TryToPerformWith' instead.", false)>]
abstract member TryToPerformwith : ObjCRuntime.Selector * Foundation.NSObject -> bool
override this.TryToPerformwith : ObjCRuntime.Selector * Foundation.NSObject -> bool
Parameters
- anAction
- Selector
- anObject
- NSObject
Returns
- Attributes