MapControl.Layers Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of map layer objects that are children of the MapControl
.
public:
property IVector<MapLayer ^> ^ Layers { IVector<MapLayer ^> ^ get(); void set(IVector<MapLayer ^> ^ value); };
IVector<MapLayer> Layers();
void Layers(IVector<MapLayer> value);
public IList<MapLayer> Layers { get; set; }
var iVector = mapControl.layers;
mapControl.layers = iVector;
Public Property Layers As IList(Of MapLayer)
Property Value
The collection of map layer objects that are children of the MapControl
. The default is an empty collection.
Remarks
Each layer contains MapElement objects rendered on top of the map. The first layer in the collection is the bottom-most layer rendered in the map.