Determines the index of a specific layer in the
LayerCollection.
'Declaration
Public Function IndexOf( _
ByVal As Layer _
) As System.Integer
public System.int IndexOf(
Layer
)
Parameters
- item
- The Layer to locate in the LayerCollection.
Return Value
The index of if found in the list; otherwise, -1.