Dela via


ResourceQualifierMapView.Split Method

Definition

Splits the map view into two views.

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

Parameters

first

IReadOnlyDictionary<String,String>

IMapView<Platform::String,Platform::String>

IMapView<winrt::hstring,winrt::hstring>

One half of the original map.

second

IReadOnlyDictionary<String,String>

IMapView<Platform::String,Platform::String>

IMapView<winrt::hstring,winrt::hstring>

The second half of the original map.

Remarks

The two views that result from the split operation might not contain the same number of items. The two views do not overlap.

If a view can't be split, then both the first and second parameter are null.

Applies to