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


IObjectStream.ReplaceObject Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IO > IObjectStream Interface > IObjectStream.ReplaceObject Method
ArcGIS Developer Help

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