MapControl.Layers Property

Definition

Gets the collection of MapLayer 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 MapLayer objects that are children of the MapControl.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to