Description

This method is only available when marshalling std::vector objects, and provides equivalent functionality to the corresponding method on the native container as defined in the C++ standard. Note that this method does not marshal the container itself in order to perform the operation. This method may be useful if only a subset of elements in the collection are being marshalled, through calls to the SetElement method.

Usage:

void reserve(size_type newSize) const

Argument list

newSize [size_type]
The number of elements to reserve capacity for in the bound collection

See also