Constructor GenerateLayerOption
GenerateLayerOption()
Initializes a new instance of the GenerateLayerOption class for use with generate geodatabase on the geodatabase sync task.
Declaration
public GenerateLayerOption()
Remarks
Creates a new instance with the following values:
- LayerId = 0
- QueryOption = UseFilter
- UseGeometry =
true
- IncludeRelated =
false
- WhereClause = ""
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
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.
Declaration
public GenerateLayerOption(long layerId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | layerId | A layer id in the service |
Remarks
Creates a new instance with the supplied layer ID and the following values:
- QueryOption = UseFilter
- UseGeometry =
true
- IncludeRelated =
false
- WhereClause = ""
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
GenerateLayerOption(Int64, Boolean)
Initializes a new instance of the GenerateLayerOption class for use with generate geodatabase on the geodatabase sync task.
Declaration
public GenerateLayerOption(long layerId, bool includeRelated)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | layerId | A layer id in the service. |
System.Boolean | includeRelated | Indicates if related rows should be included. |
Remarks
Creates a new instance with the supplied layer ID and includeRelated value and the following values:
- QueryOption = UseFilter
- UseGeometry =
true
- WhereClause = ""
includeRelated
only applies when the QueryOption
is none
.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
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.
Declaration
public GenerateLayerOption(long layerId, string whereClause)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | layerId | A layer id in the service |
System.String | whereClause | a where clause to apply to the layer |
Remarks
Creates a new instance with the supplied layer ID and where clause and the following default values:
- QueryOption = UseFilter
- UseGeometry =
true
- IncludeRelated =
false
IncludeRelated only applies when the QueryOption
is none
.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |