Returns the lowest index within a specified range whose corresponding array value is equal to a given object .
Original signature is '- (NSUInteger)indexOfObject:(id)anObject inRange:(NSRange)range'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSUInteger IndexOfObjectInRange( Id anObject, NSRange range )
Public Overridable Function IndexOfObjectInRange ( _ anObject As Id, _ range As NSRange _ ) As NSUInteger
public: virtual NSUInteger IndexOfObjectInRange( Id^ anObject, NSRange range )
Return Value
The lowest index within range whose corresponding array value is equal to anObject. If none of the objects within range is equal to anObject, returns NSNotFound.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)