dotnetCHARTING Send comments on this topic.
Add(String) Method
See Also 
dotnetCHARTING.Mapping Namespace > MapLayerCollection Class > Add Method : Add(String) Method


fileName
Name of the file containing the map data to add.
Adds a specified MapLayer class to this collection.

Syntax

Visual Basic (Declaration) 
Overloads Public Function Add( _
   ByVal fileName As String _
) As MapLayer
Visual Basic (Usage)Copy Code
Dim instance As MapLayerCollection
Dim fileName As String
Dim value As MapLayer
 
value = instance.Add(fileName)
C# 
public MapLayer Add( 
   string fileName
)

Parameters

fileName
Name of the file containing the map data to add.

Return Value

The zero-based index of the added MapLayer.

See Also