COleSafeArray::Redim

Changes the least significant (rightmost) bound of a safe array.

void Redim( 
   SAFEARRAYBOUND* psaboundNew  
);

Parameters

  • psaboundNew
    Pointer to a new safe array bound structure containing the new array bound. Only the least significant dimension of an array may be changed.

Remarks

On error, the function throws a COleException.

Requirements

Header: afxdisp.h

See Also

Reference

COleSafeArray Class

Hierarchy Chart

COleSafeArray::Create

COleSafeArray::GetDim

COleSafeArray::ResizeOneDim