.netCHARTING v10.5 Documentation


The MapLayer to find.
Contains Method (MapLayerCollection)
Determines whether this collection contains a specified MapLayer.
Syntax
'Declaration
 
Public Function Contains( _
   ByVal mapLayer As MapLayer _
) As Boolean
'Usage
 
Dim instance As MapLayerCollection
Dim mapLayer As MapLayer
Dim value As Boolean
 
value = instance.Contains(mapLayer)
public bool Contains( 
   MapLayer mapLayer
)

Parameters

mapLayer
The MapLayer to find.

Return Value

true if the specified MapLayer belongs to this collection; otherwise, false.
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