Class GenerateLayerOption
An object that is used in conjunction with GenerateGeodatabaseParameters to identify what layers or tables to take offline.
Inheritance
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
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.0 - 200.8 | 
| Xamarin.Android | 100.0 - 100.15 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 200.8 |