IHash<TKey,TValue>.find(ContainerBidirectionalIterator<TValue>, TKey) 方法

定义

查找与指定键匹配的元素。Finds an element that matches a specified key.

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

参数

_Keyval
TKey

要搜索的键值。The key value for which to search.

注解

有关详细信息,请参阅 哈希 _ 映射:: FIND (STL/clr) hash _ 多重映射:: find (stl/clr) 哈希 _ 集:: find (stl/clr) hash _ 多重集:: find (stl/clr) 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).

适用于