com.esri.arcgis.system
Interface IVariantStream

All Superinterfaces:
Serializable
All Known Implementing Classes:
VariantStreamIO

public interface IVariantStream
extends Serializable

Provides access to members that store values to and retrieve values from a stream.

Product Availability

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


Method Summary
 Object read()
          Reads a value from a stream.
 void write(Object value)
          Writes a value to a stream.
 

Method Detail

read

Object read()
            throws IOException,
                   AutomationException
Reads a value from a stream.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

write

void write(Object value)
           throws IOException,
                  AutomationException
Writes a value to a stream.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
value - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.