ITree<TKey,TValue>.find 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
尋找符合指定之索引鍵的元素。
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)。