CComPtr::operator =
Assignment operator.
T* operator =(
T* lp
) throw ( );
T* operator =(
const CComPtr< T >& lp
) throw ( );
Return Value
Returns a pointer to the updated CComPtr object
Remarks
This operation AddRefs the new object and releases the existing object, if one exists.
Requirements
Header: atlcomcli.h
See Also
Reference
Other Resources
Change History
Date |
History |
Reason |
---|---|---|
July 2010 |
Added text about AddRef and Release. |
Customer feedback. |