indexOfName

indexOfName(String name) method

Returns the zero-based index of the specified key in the collection.

Parameters

NameTypeDescription
nameStringThe name to locate in the collection.

Returns

int