Description

This method is only available when marshalling std::vector objects, and provides equivalent functionality to one overload of the corresponding method on the native container as defined in the C++ standard. Other overloads are not currently provided, in particular ones that accept iterators to assign the contents of the collection to a range of supplied values, although these overloads may be added at a future time.

Usage:

void assign(size_type newSize, const ElementType& element) const

Argument list

newSize [size_type]
The number of elements to allocate in the bound collection
element [ElementType]
The source object to marshal into each created entry in the bound collection

See also