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

IMapDocument.DocumentVersion Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapDocument Interface > IMapDocument.DocumentVersion Property
ArcGIS Developer Help

IMapDocument.DocumentVersion Property

Indicates if the version of the map document is compatible with the current version of software.

[Visual Basic .NET]
Public ReadOnly Property DocumentVersion As esriMapDocumentVersionInfo
public esriMapDocumentVersionInfo DocumentVersion {get;}
HRESULT get_DocumentVersion(
  esriMapDocumentVersionInfo* versionInfo
versionInfo [out, retval]

versionInfo is a parameter of type esriMapDocumentVersionInfo*

Product Availability

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


Returns whether the version of the MapDocument that is open is compatible with the current software accessing the document.

See Also

IMapDocument Interface