Show / Hide Table of Contents

Class GenerateLayerOption

An object that is used in conjunction with GenerateGeodatabaseParameters to identify what layers or tables to take offline.

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

This object allows you to set properties on a layer or table to specify what features to take offline.

Only the properties for the layers and tables that you want changed from the default are required.

Constructors

Name Description
GenerateLayerOption()

Initializes a new instance of the GenerateLayerOption class for use with generate geodatabase on the geodatabase sync task.

GenerateLayerOption(Int64)

Initializes a new instance of the GenerateLayerOption class with a given layer id for use with generate geodatabase on the geodatabase sync task.

GenerateLayerOption(Int64, Boolean)

Initializes a new instance of the GenerateLayerOption class for use with generate geodatabase on the geodatabase sync task.

GenerateLayerOption(Int64, String)

Initializes a new instance of the GenerateLayerOption class with the supplied layer id and where clause for use with generate geodatabase on the geodatabase sync task.

Properties

Name Description
IncludeRelated

Gets or sets a value indicating whether only related rows are added to the specific LayerId in the generated geodatabase.

LayerId

Gets or sets the layer or table ID to further filter in the generated geodatabase.

QueryOption

Gets or sets a value indicating whether all, filtered or no features will be copied from the server when creating a geodatabase.

UseGeometry

Gets or sets a value indicating whether Extent is used to filter the features for downloading.

WhereClause

Gets or sets the where clause of the layer option.

Applies to

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

Relevant samples

Geodatabase transactions: Use transactions to manage how changes are committed to a geodatabase.
In This Article
Back to top Copyright © 2022 Esri.