ArcGIS Enterprise SDK
IPersistVariant Interface
ArcGIS Enterprise SDK Developer Help > ArcGIS Enterprise SDK API Reference > ArcGIS Enterprise SDK .NET Namespaces > ESRI.Server.System > Interfaces > IP > IPersistVariant Interface
ArcGIS Developer Help (ESRI.ArcGIS.esriSystem)

IPersistVariant Interface

Provides access to members used for storage of an object through VARIANTs.

Description

The IPersistVariant interface should be implemented by classes which need to be persistable. This interface was specifically designed for use by programmers who don�t use Visual C++, or C++ development environments.

The stream passed to the IPersistVariant interface is a specialist stream class which implements IVariantStream. Using this interface, any value type, or any COM object can be written to a stream. This stream class is internal to ArcObjects.

See the topics on implementing persistence for more details.

Members

Name Description
Read-only property ID The ID of the object.
Method Load Loads the object properties from the stream.
Method Save Saves the object properties to the stream.

Classes that implement IPersistVariant

Classes Description