Show / Hide Table of Contents

Property Version

Version

Gets the mobile map package's version.

Declaration
public string Version { get; }
Property Value
Type Description
String

The mobile map package's version.

Remarks

The mobile map package version is set when the package is authored in ArcGIS Pro or when it is generated by the OfflineMapTask.

This property will be populated when you attempt to load the package. The version property will always be populated for you to examine, even if the package is an unsupported version.

This API currently support mobile map packages up to and including major version 5.

You may wish to check the version property before trying to access specific functionality. For example:

  • Expiration details are only available from mobile map package version 3.1 onwards.
  • Links to online services are only available from mobile map package version 4.0 onwards.

If the package fails to load, check that the version number has not exceeded the supported major version.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.2
.NET 6.0100.13 - 200.2
.NET 6.0 Windows100.13 - 200.2
.NET 6.0 Android200.0 - 200.2
.NET 6.0 iOS200.0 - 200.2
.NET Framework100.0 - 200.2
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.2
In This Article
Back to top Copyright © 2022 Esri.