Bewerken

Delen via


ITree<TKey,TValue>.equal_range Method

Definition

Finds the range that matches a specified key.

public:
 void ^ equal_range(Microsoft::VisualC::StlClr::GenericPair<Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^, Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^> ^ % unnamedParam1, TKey _Keyval);
public void equal_range (ref Microsoft.VisualC.StlClr.GenericPair<Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue>,Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue>> unnamedParam1, TKey _Keyval);
abstract member equal_range : GenericPair * 'Key -> unit
Public Function equal_range (ByRef unnamedParam1 As GenericPair(Of ContainerBidirectionalIterator(Of TValue), ContainerBidirectionalIterator(Of TValue)), _Keyval As TKey) As Void

Parameters

unnamedParam1
GenericPair<ContainerBidirectionalIterator<TValue>,ContainerBidirectionalIterator<TValue>>

A pair of iterators that determine the range of elements currently in the controlled sequence that match a specified key.

_Keyval
TKey

The key value for which to search.

Remarks

For more information, see hash_map::equal_range (STL/CLR), hash_multimap::equal_range (STL/CLR), hash_set::equal_range (STL/CLR), and hash_multiset::equal_range (STL/CLR).

Applies to