MonobjcMonobjc Documented Class Library
IndexOf Method (item)
NamespacesMonobjc.FoundationNSArrayIndexOf(Id)
Determines the index of a specific item in the IList<(Of <(<'T>)>)>.
Declaration Syntax
C#Visual BasicVisual C++
public virtual int IndexOf(
	Id item
)
Public Overridable Function IndexOf ( _
	item As Id _
) As Integer
public:
virtual int IndexOf(
	Id^ item
)
Parameters
item (Id)
The object to locate in the IList<(Of <(<'T>)>)>.
Return Value
The index of item if found in the list; otherwise, -1.
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)