MapControl.Layers 屬性

定義

取得 MapLayer 物件的集合,這些物件是 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)

屬性值

MapControl子系的MapLayer物件集合。

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

適用於