Property Version
Version
Gets the mobile map package's version.
Declaration
public string Version { get; }
Property Value
Type | Description |
---|---|
System.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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |