IndexOf Method (Mapping)

PPJoy

Searches for the specified Mapping 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 Mapping _
) As Integer
C#
public int IndexOf(
	Mapping value
)
Visual C++
public:
int IndexOf(
	Mapping^ value
)

Parameters

value
Type: PPJoy..::.Mapping
The Mapping 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.

See Also