Show / Hide Table of Contents

Class SyncLayerOption

Specifies a SyncDirection for any layer in the geodatabase.

Inheritance
System.Object
SyncLayerOption
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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

TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8

Relevant samples

Edit and sync features: Synchronize offline edits with a feature service.
In This Article
Back to top Copyright © 2022 Esri.