This document is archived and information here might be outdated.  Recommended version.


IDocumentVersion Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > ID > IDocumentVersion Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (System)  

IDocumentVersion Interface

Provides access to members that control the document version.

Product Availability

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

When To Use

Use this interface when you want an object to persist its contents based on the ArcGIS document version.

Members

Name Description
Read/write property DocumentVersion The version of the document to save.

CoClasses that implement IDocumentVersion

CoClasses and Classes Description
FileStream Specialized kind of IStream for files.
GlobeDocument (esriGlobeCore) The GlobeDocument coclass is used to read and write globe document files.
GMxDocument (esriArcGlobe) Provides access to members that control the ArcGlobe document.
GxFilterLayers (esriCatalog) A filter for displaying/choosing layers.
GxLayer (esriCatalog) GxObject that represents a layer.
LayerFile (esriCarto) The LayerFile coclass is used to read and write layer document files.
MapDocument (esriCarto) The MapDocument coclass is used to read and write map document files.
MemoryBlobStream Memory blob stream object.
MxDocument (esriArcMapUI) Esri Mx Document.
ObjectStream Specialized kind of IStream for objects.
SxDocument (esriArcScene) Provides access to members that control the ArcScene document.
VariantStreamIO Helper object that performs stream IO for Variants.

Remarks

IDocumentVersion determines what version of an object should be saved.  For example, if a new interface was added to an existing object to extend the object's capabilities and the object implements IDocumentVersion, its contents can be saved based on the ArcGIS version.

See Also

IDocumentVersionSupportGEN Interface | IPersistStream Interface | IPersistVariant Interface