This document is archived and information here might be outdated. Recommended version. |
Overwrites the object with the contents of input object.
[Visual Basic .NET] Public Sub Overwrite ( _ ByVal pInObject As Object, _ ByRef pOverwriteObject As Object _ )
[C#] public void Overwrite ( object pInObject, ref object pOverwriteObject );
[C++]
HRESULT Overwrite(
LPUNKNOWN pInObject,
IUnknown Pointer* pOverwriteObject
);
[C++]
Parameters pInObject [in]
pInObject is a parameter of type IUnknown pOverwriteObject [in, out]
pOverwriteObject is a parameter of type IUnknown*
Used to overwrite an existing object with the contents of another object. The objects must be the same type of object and support IPersistStream.
Overwrite may fail if there is insufficient memory.