Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
);
Parameters
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.
Remarks
Creates a CComSafeArray object.
Smart Device Developer Notes
CComSafeArray::CComSafeArray ( SAFEARRAY * ) and CComSafeArray::CComSafeArray ( CComSafeArray ) are supported for only VT_BSTR, VT_VARIANT, VT_UNKNOWN, and VT_DISPATCH VARTYPEs.
Requirements
Header: atlsafe.h