Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMapView<K, V>.Split method

Splits the map view into two views.

Syntax


void Split(
  [OutAttribute] IMapView<K, V>^ first, 
  [OutAttribute] IMapView<K, V>^ second
)

Parameters

first (out parameter)

Type: IMapView<K, V>

One half of the original map.

second (out parameter)

Type: IMapView<K, V>

The second half of the original map.

Remarks

When programming with .NET, this interface is hidden and developers should use the System.Collections.Generic.IReadOnlyDictionary<TKey,TValue> interface.

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

If the IMapView<K, V> instance cannot be split, then both the first and second parameters are null when the method returns.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

Windows::Foundation::Collections

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows::Foundation::Collections

Metadata

Windows.winmd

See also

IMapView<K, V>

 

 

Show: