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

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

.NET Samples

Create a custom raster function (Code Files: WatermarkFunction) |