IMapView<K,V>.Split(IMapView<K,V>, IMapView<K,V>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Splits the map view into two views.
public:
void Split([Out] IMapView<K, V> ^ & first, [Out] IMapView<K, V> ^ & second);
void Split([Out] IMapView<K, V> const& & first, [Out] IMapView<K, V> const& & second);
public void Split(out IReadOnlyDictionary<K,V> first, out IReadOnlyDictionary<K,V> second);
Public Sub Split (ByRef first As IReadOnlyDictionary(Of K, V), ByRef second As IReadOnlyDictionary(Of K, V))
Parameters
- first
-
IMapView<K,V>
IReadOnlyDictionary<K,V>
One half of the original map.
- second
-
IMapView<K,V>
IReadOnlyDictionary<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.