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 - 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 |
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 |
---|---|---|
System.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 - 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 |
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 |
---|---|---|
System.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 - 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 |
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 |
---|---|---|
System.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 - 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 |