Edit

Share via


ITree<TKey,TValue>.find Method

Definition

Finds an element that matches a specified key.

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

Parameters

unnamedParam1
ContainerBidirectionalIterator<TValue>

An iterator that designates one of the found elements; or end(ContainerBidirectionalIterator<TValue>) if no element is found.

_Keyval
TKey

The key value for which to search.

Remarks

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

Applies to