ITree<TKey,TValue>.upper_bound Metod

Definition

Söker efter slutet av det område med element som matchar en angiven nyckel.

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

Parametrar

unnamedParam1
ContainerBidirectionalIterator<TValue>

En iterator som anger det första elementet utöver det sista elementet i den kontrollerade sekvensen som hashar till samma bucket som _Keyval och har motsvarande ordning till _Keyval. Om det inte finns något sådant element returneras end(ContainerBidirectionalIterator<TValue>).

_Keyval
TKey

Nyckelvärdet att söka efter.

Kommentarer

Mer information finns i hash_map::upper_bound (STL/CLR), hash_multimap::upper_bound (STL/CLR), hash_set::upper_bound (STL/CLR) och hash_multiset::upper_bound (STL/CLR).

Gäller för