Udostępnij za pośrednictwem


CComSafeArrayBound Class

This class is a wrapper for a SAFEARRAYBOUND structure.

class CComSafeArrayBound : public SAFEARRAYBOUND

Remarks

This class is a wrapper for the SAFEARRAYBOUND structure used by CComSafeArray. It provides methods for querying and setting the upper and lower bounds of a single dimension of a CComSafeArray object and the number of elements it contains. A multidimensional CComSafeArray object uses an array of CComSafeArrayBound objects, one for each dimension. Therefore, when using methods such as GetCount, be aware that this method will not return the total number of elements in a multidimensional array.

Header: atlsafe.h

Requirements

Header: atlsafe.h

See Also

Other Resources

CComSafeArrayBound Members

ATL Class Overview