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


IMapDocument.GetVersionInfo Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapDocument.GetVersionInfo Method

Retrieve the detailed version information of the map document.

[Visual Basic .NET]
Public Sub GetVersionInfo ( _
    ByRef versionInfoMissing As Boolean, _
    ByRef lMajor As Integer, _
    ByRef lMinor As Integer, _
    ByRef lRevision As Integer, _
    ByRef lBuild As Integer _
)
[C#]
public void GetVersionInfo (
    ref bool versionInfoMissing,
    ref int lMajor,
    ref int lMinor,
    ref int lRevision,
    ref int lBuild
);
[C++]
HRESULT GetVersionInfo(
  VARIANT_BOOL* versionInfoMissing,
  long* lMajor,
  long* lMinor,
  long* lRevision,
  long* lBuild
);
[C++]

Parameters versionInfoMissing [in, out] versionInfoMissing is a parameter of type VARIANT_BOOL lMajor [in, out] lMajor is a parameter of type long lMinor [in, out] lMinor is a parameter of type long lRevision [in, out] lRevision is a parameter of type long lBuild [in, out] lBuild is a parameter of type long

Product Availability

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

Description

Returns the major, minor, revision and build numbers of the MapDocument if the map document version information is present.

See Also

IMapDocument Interface