MonobjcMonobjc Documented Class Library
IndexOfObjectIdenticalTo Method (anObject)
NamespacesMonobjc.FoundationNSArrayIndexOfObjectIdenticalTo(Id)

Returns the lowest index whose corresponding array value is identical to a given object.

Original signature is '- (NSUInteger)indexOfObjectIdenticalTo:(id)anObject'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSUInteger IndexOfObjectIdenticalTo(
	Id anObject
)
Public Overridable Function IndexOfObjectIdenticalTo ( _
	anObject As Id _
) As NSUInteger
public:
virtual NSUInteger IndexOfObjectIdenticalTo(
	Id^ anObject
)
Parameters
anObject (Id)
An object.
Return Value
The lowest index whose corresponding array value is identical to anObject. If none of the objects in the array is identical 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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)