ITree<TKey,TValue>.equal_range 方法

定义

查找与指定键匹配的范围。

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

参数

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

一对迭代器,确定受控序列中当前与指定键匹配的元素的范围。

_Keyval
TKey

要搜索的键值。

注解

有关详细信息,请参阅 hash_map::equal_range (STL/CLR) hash_multimap::equal_range (STL/CLR) hash_set::equal_range (STL/CLR) hash_multiset::equal_range (STL/CLR)

适用于