This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IO > IObjectStream Interface > IObjectStream.SaveObject Method (ArcObjects .NET 10.5 SDK) |
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 LPUNKNOWN