ArcObjects Library Reference  (System)    

IPersistVariant.Load Method

Loads the object properties from the stream.

[Visual Basic 6.0]
Sub Load(
    ByVal Stream As IVariantStream _
[Visual Basic .NET]
Public Sub Load ( _
    ByVal Stream As IVariantStream _
public void Load (
    IVariantStream Stream
public void load (
    IVariantStream Stream
  IVariantStream* Stream


Stream [in]

  Stream is a parameter of type IVariantStream

Product Availability

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


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 must 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