This document is archived and information here might be outdated.  Recommended version.


IObjectStream.ReplaceObject Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (System)  

IObjectStream.ReplaceObject Method

Replaces the current object with the object in the the specified stream.

[Visual Basic .NET]
Public Sub ReplaceObject ( _
    ByVal unknown As Object _
)
[C#]
public void ReplaceObject (
    object unknown
);
[C++]
HRESULT ReplaceObject(
  LPUNKNOWN unknown
);
[C++]

Parameters unknown [in]
unknown is a parameter of type IUnknown

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IObjectStream Interface