Compartilhar via


COleSafeArray::ResizeOneDim

Changes the number of elements in a one-dimensional COleSafeArray object.

void ResizeOneDim( 
   DWORD dwElements  
);

Parameters

  • dwElements
    Number of elements in the one-dimensional safe array.

Remarks

On error, the function throws a COleException.

Example

See the example for COleSafeArray::CreateOneDim.

Requirements

Header: afxdisp.h

See Also

Reference

COleSafeArray Class

Hierarchy Chart

COleSafeArray::Redim

COleSafeArray::GetOneDimSize

COleSafeArray::CreateOneDim