Description
This method is only available when marshalling std::vector and std::array objects, and provides equivalent functionality to the corresponding method on the native containers as defined in the C++ standard. Note that this method does not marshal the contents of the source container in order to evaluate the result. This method may be useful if only a subset of elements in the collection are being marshalled, through calls to the GetElement method.
Usage (std::vector, std::array only):
size_type capacity() const
Return value
- [size_type]
- The currently allocated entry capacity of the bound collection