COleSafeArray::ResizeOneDim

void ResizeOneDim( DWORD dwElements );

Parameters

dwElements

Number of elements in the one-dimensional safe array.

Remarks

Call this function to change the number of elements in a one-dimensional COleSafeArray object. On error, the function throws a COleException.

Example

See the example for COleSafeArray::CreateOneDim.

COleSafeArray OverviewClass MembersHierarchy Chart

See Also   COleSafeArray::Redim, COleSafeArray::GetOneDimSize, COleSafeArray::CreateOneDim, SafeArrayRedim