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


IObjectStream.SaveObject 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.SaveObject Method
ArcGIS Developer Help

IObjectStream.SaveObject Method

Store an object to the specified stream. The first time the object is stored, the full object is written to the stream. When the object is subsequently stored, a reference is stored.

[Visual Basic .NET]
Public Sub SaveObject ( _
    ByVal pUnk As Object _
)
[C#]
public void SaveObject (
    object pUnk
);
[C++]
HRESULT SaveObject(
  LPUNKNOWN pUnk
);
[C++]
Parameters
pUnk [in]

pUnk is a parameter of type IUnknown

Product Availability

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

See Also

IObjectStream Interface