Show / Hide Table of Contents

Class OfflineMapParametersKey

A key comprising of a service URL and type of an online service. The key is used to lookup values in a dictionary exposed by a GenerateOfflineMapParameterOverrides.

Inheritance
Object
OfflineMapParametersKey
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class OfflineMapParametersKey
Remarks

GenerateOfflineMapParameterOverrides consist of instances of data type specific parameters GenerateGeodatabaseParameters, ExportTileCacheParameters and ExportVectorTilesParameters. Each instance is associated with the service URL that the parameters will be sent to when taking the given data offline. The data type specific parameters can be retrieved from their respective dictionaries on GenerateOfflineMapParameterOverrides with an instance of OfflineMapParametersKey. A key instance for a particular layer can be constructed by calling OfflineMapParametersKey(Layer). For a table, call OfflineMapParametersKey(ServiceFeatureTable). For a utility network, call OfflineMapParametersKey(UtilityNetwork). Use the key with the dictionary returned by one of these properties: GenerateGeodatabaseParameters, ExportVectorTilesParameters, ExportTileCacheParameters. The particular dictionary property will be determined by the Type property. Note that a given parameters key/value pair may be shared by multiple layers in the map: for example a single GenerateGeodatabaseParameters could represent the online settings for multiple feature layers and tables which all access the same underlying feature service.

Constructors

Name Description
OfflineMapParametersKey(ServiceFeatureTable)

Initializes a new instance of the OfflineMapParametersKey class for the given table.

OfflineMapParametersKey(Layer)

Initializes a new instance of the OfflineMapParametersKey class for the given layer.

OfflineMapParametersKey(UtilityNetwork)

Initializes a new instance of the OfflineMapParametersKey class for the specified UtilityNetwork.

Properties

Name Description
ServiceUrl

Gets the service URL of this key.

Type

Gets the parameter type of this key.

Methods

Name Description
Equals(Object)
GetHashCode()

Applies to

TargetVersions
.NET Standard 2.0100.4 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.4 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.4 - 100.15
iOS100.4 - 100.15
UWP100.4 - 200.0
In This Article
Back to top Copyright © 2022 Esri.