Редагувати

Поділитися через


IVector<TValue>.capacity Method

Definition

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