IHash<TKey,TValue>.size 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.
Counts the number of elements in the container.
public:
int size();
public int size ();
abstract member size : unit -> int
Public Function size () As Integer
Returns
The length of the controlled sequence.
Remarks
For more information, see hash_map::size (STL/CLR), hash_multimap::size (STL/CLR), hash_set::size (STL/CLR), and hash_multiset::size (STL/CLR).
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.