.netCHARTING v10.7 Documentation


The MapLayer to find.
IndexOf Method (MapLayerCollection)
Determines index of a specified MapLayer in this collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal mapLayer As MapLayer _
) As Integer
'Usage
 
Dim instance As MapLayerCollection
Dim mapLayer As MapLayer
Dim value As Integer
 
value = instance.IndexOf(mapLayer)
public int IndexOf( 
   MapLayer mapLayer
)

Parameters

mapLayer
The MapLayer to find.

Return Value

The zero-based index of the specified MapLayer.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also