NSObject.RespondsToSelector(Selector) 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.
Whether this object recognizes the specified selector.
[Foundation.Export("respondsToSelector:")]
public virtual bool RespondsToSelector (ObjCRuntime.Selector sel);
abstract member RespondsToSelector : ObjCRuntime.Selector -> bool
override this.RespondsToSelector : ObjCRuntime.Selector -> bool
Parameters
- sel
- Selector
Class representing the selector.
Returns
This returns true
if the object responds to the selector, false
othwerise.
Implements
- Attributes