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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.