Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CComSafeArray::CComSafeArray

The constructor.

CComSafeArray( ); 
CComSafeArray( 
   const SAFEARRAYBOUND& bound  
); 
CComSafeArray( 
   ULONG ulCount, 
   LONG lLBound = 0  
); 
CComSafeArray( 
   const SAFEARRAYBOUND * pBound, 
   UINT uDims = 1  
); 
CComSafeArray( 
   const CComSafeArray& saSrc  
); 
CComSafeArray( 
   const SAFEARRAY& saSrc  
); 
CComSafeArray( 
   const SAFEARRAY * psaSrc  
);
bound

A SAFEARRAYBOUND structure.

ulCount

The number of elements in the array.

lLBound

The lower bound value; that is, the index of the first element in the array.

pBound

A pointer to a SAFEARRAYBOUND structure.

uDims

The count of dimensions in the array.

saSrc

A reference to a SAFEARRAY structure or CComSafeArray object. In either case the constructor uses this reference to make a copy of the array, so the array is not referenced after construction.

psaSrc

A pointer to a SAFEARRAY structure. The constructor uses this address to make a copy of the array, so the array is not referenced after construction.

Creates a CComSafeArray object.

Header: atlsafe.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.