語言

ITree<TKey,TValue>.find 方法

定義

尋找符合指定之索引鍵的元素。

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

參數

unnamedParam1
ContainerBidirectionalIterator<TValue>

一個迭代器,指定其中一個發現元素;或 end(ContainerBidirectionalIterator<TValue>) 若未找到元素。

_Keyval
TKey

尋找的關鍵價值。

備註

欲了解更多資訊,請參閱hash_map::find (STL/CLR)、hash_multimap::find (STL/CLR)、hash_set::find (STL/CLR)及hash_multiset::find (STL/CLR)。

適用於