ResourceMapMapView.Split 方法

定义

将地图视图拆分为两个视图。

public:
 virtual void Split([Out] IMapView<Platform::String ^, ResourceMap ^> ^ & first, [Out] IMapView<Platform::String ^, ResourceMap ^> ^ & second) = IMapView<Platform::String ^, ResourceMap ^>::Split;
void Split([Out] IMapView<winrt::hstring, ResourceMap const&> const& & first, [Out] IMapView<winrt::hstring, ResourceMap const&> const& & second);
public void Split(out IReadOnlyDictionary<string,ResourceMap> first, out IReadOnlyDictionary<string,ResourceMap> second);
Public Sub Split (ByRef first As IReadOnlyDictionary(Of String, ResourceMap), ByRef second As IReadOnlyDictionary(Of String, ResourceMap))

参数

first

IReadOnlyDictionary<String,ResourceMap>

IMapView<Platform::String,ResourceMap>

IMapView<winrt::hstring,ResourceMap>

原始地图的一半。

second

IReadOnlyDictionary<String,ResourceMap>

IMapView<Platform::String,ResourceMap>

IMapView<winrt::hstring,ResourceMap>

原始地图的后半部分。

注解

拆分操作产生的两个视图可能包含不同数量的项。 这两个视图不重叠。

如果无法拆分视图,则第一个和第二个参数均为 null

适用于