Share via


CComSafeArray::operator =

Assignment operator.

ATL::CComSafeArray< T > & operator =(
   const ATL::CComSafeArray & saSrc 
);
ATL::CComSafeArray< T > & operator =(
   const SAFEARRAY * psaSrc 
);

Parameters

  • saSrc
    A reference to a CComSafeArray object.

  • psaSrc
    A pointer to a SAFEARRAY object.

Return Value

Returns the type of data stored in the array.

Requirements

Header: atlsafe.h

See Also

Reference

CComSafeArray Class

Other Resources

CComSafeArray Members