IndexOf Method (Object)

PPJoy

Searches for the specified Object and returns the zero-based index of the first occurence within the entire MappingCollection.

Namespace:  PPJoy
Assembly:  PPJoyWrapper (in PPJoyWrapper.dll)

Syntax

Visual Basic (Declaration)
Public Function IndexOf ( _
	value As Object _
) As Integer
C#
public int IndexOf(
	Object value
)
Visual C++
public:
virtual int IndexOf(
	Object^ value
) sealed

Parameters

value
Type: System..::.Object
The Object to locate in the MappingCollection. value can be nullNothingnullptra null reference (Nothing in Visual Basic).

Return Value

The zero-based index of the first occurrence of value within the entire MappingCollection, if found; otherwise, -1.

Implements

IList..::.IndexOf(Object)

See Also