IVector<TValue>.capacity 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.
Reports the size of allocated storage for the container.
public:
int capacity();
public int capacity ();
abstract member capacity : unit -> int
Public Function capacity () As Integer
Returns
The storage that is currently allocated to hold the controlled sequence, a value at least as large as size().
Remarks
For more information, see vector::capacity (STL/CLR).
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.