ITree<TKey,TValue>.find Metod

Definition

Hittar ett element som matchar en angiven nyckel.

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

Parametrar

unnamedParam1
ContainerBidirectionalIterator<TValue>

En iterator som anger ett av de hittade elementen. eller end(ContainerBidirectionalIterator<TValue>) om inget element hittas.

_Keyval
TKey

Nyckelvärdet som du vill söka efter.

Kommentarer

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

Gäller för