ArcObjects Library Reference  (System)    

IPersistVariant.Save Method

Saves the object properties to the stream.

[Visual Basic 6.0]
Sub Save(
    ByVal Stream As IVariantStream _
)
[Visual Basic .NET]
Public Sub Save ( _
    ByVal Stream As IVariantStream _
)
[C#]
public void Save (
    IVariantStream Stream
);
[Java]
public void save (
    IVariantStream Stream
)
throws
    IOException,
    AutomationException
[C++]
HRESULT Save(
  IVariantStream* Stream
);
[C++]

Parameters

Stream [in]

  Stream is a parameter of type IVariantStream

Product Availability

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

Description

The Load method must read the data from the stream in the same order the data was written to the stream in the Save method.

Streams are sequential; you mut ensure that your data is saved and loaded in the correct order, so that the correct data is written to the correct member.

See Also

IPersistVariant Interface