Class SyncLayerOption
Specifies a SyncDirection for any layer in the geodatabase.
Inheritance
Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class SyncLayerOption
Remarks
If the geodatabase supports the Layer synchronization model, you can add a SyncLayerOption to the LayerOptions collection, to specify how individual the geodatabase layers and tables are synchronized.
The default sync direction for layers is bidirectional (Bidirectional). Therefore, you need to provide a SyncLayerOption if you do not want the default behavior.
Constructors
Name | Description |
---|---|
SyncLayerOption() | Initializes a new instance of the SyncLayerOption class. |
SyncLayerOption(Int64) | Initializes a new instance of the SyncLayerOption class with a Layer ID. |
SyncLayerOption(Int64, SyncDirection) | Initializes a new instance of the SyncLayerOption class with a Layer ID and sync direction. |
Properties
Name | Description |
---|---|
LayerId | Gets or sets the layer or table ID to specify the SyncDirection. |
SyncDirection | Gets or sets the synchronization direction for the specified layer or table Id. |
Applies to
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 |