Constructor GeoprocessingLinearUnit
GeoprocessingLinearUnit()
Initializes a new instance of the GeoprocessingLinearUnit class.
Declaration
public GeoprocessingLinearUnit()
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
GeoprocessingLinearUnit(Double, LinearUnit)
Initializes a new instance of the GeoprocessingLinearUnit class with the given distance and linear unit.
Declaration
public GeoprocessingLinearUnit(double distance, LinearUnit unit)
Parameters
Type | Name | Description |
---|---|---|
Double | distance | The distance value of the parameter. |
LinearUnit | unit | The unit of distance. |
Remarks
If the provided LinearUnit is not supported by the geoprocessing task, the value is converted to meters.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
GeoprocessingLinearUnit(Double)
Initializes a new instance of the GeoprocessingLinearUnit class with the given distance which is assumed to be in meters.
Declaration
public GeoprocessingLinearUnit(double distance)
Parameters
Type | Name | Description |
---|---|---|
Double | distance | The distance value of the parameter in meters. |
Remarks
Note that although this constructor defaults to meters, the unit can be changed by updating Unit . If the unit is changed in this way, the value is not converted.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
GeoprocessingLinearUnit(Double, GeoprocessingLinearUnits)
Initializes a new instance of the GeoprocessingLinearUnit class with the given distance and linear unit.
Declaration
public GeoprocessingLinearUnit(double distance, GeoprocessingLinearUnits unit)
Parameters
Type | Name | Description |
---|---|---|
Double | distance | The distance value of the parameter. |
GeoprocessingLinearUnits | unit | The unit of distance. |
Remarks
The GeoprocessingLinearUnits used here represents the subset of linear units supported by geoprocessing.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |