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


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

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