共用方式為


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>>

一組 Iterator,判斷目前在受控制序列中符合指定之索引鍵的項目範圍。

_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)

適用於