ITree<TKey,TValue>.count(TKey) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds the number of elements that match a specified key.
public:
int count(TKey _Keyval);
public int count (TKey _Keyval);
abstract member count : 'Key -> int
Public Function count (_Keyval As TKey) As Integer
Parameters
- _Keyval
- TKey
The key value for which to search.
Returns
The number of elements in the controlled sequence that have the same key as _Keyval
. You use it to determine the number of elements currently in the controlled sequence that match a specified key.
Remarks
For more information, see hash_map::count (STL/CLR), hash_multimap::count (STL/CLR), hash_set::count (STL/CLR), and hash_multiset::count (STL/CLR).
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om