NetXP 3.0 Reference

ColorCollection.IndexOf Method 

Gets the index of an item.

[Visual Basic]
Public Function IndexOf( _
   ByVal item As Color _
) As Integer
[C#]
public int IndexOf(
   Color item
);

Parameters

item
The item.

Return Value

The index of the item.

See Also

ColorCollection Class | NETXP.Library Namespace