Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

COleSafeArray Class 

This topic has been updated for Visual Studio 2005 SP1.

A class for working with arrays of arbitrary type and dimension.


class COleSafeArray : public tagVARIANT

COleSafeArray derives from the OLE VARIANT structure. The OLE SAFEARRAY member functions are available through COleSafeArray, as well as a set of member functions specifically designed for one-dimensional arrays of bytes.

Header: afxdisp.h

This section has been updated for Visual Studio 2005 SP1.

Starting in Visual Studio 2005 SP1, this class is supported in Smart Device projects.

The Smart Device version of COleSafeArray Class does not support the following operator:

Community Additions

ADD
Show:
© 2015 Microsoft