Method ReplaceGeometry
ReplaceGeometry(T)
Replace the geometry in the builder to the new geometry.
Declaration
public override void ReplaceGeometry(T geometry)
Parameters
| Type | Name | Description |
|---|---|---|
| T | geometry | The geometry object. |
Overrides
Esri.ArcGISRuntime.Geometry.GeometryBuilder<T>.ReplaceGeometry(T)
Remarks
This does not update the SpatialReference of the builder. If
the geometry is null, the builder is cleared.
Prior to v100.12, only geometries without curves could be used; passing in a geometry
where HasCurves is true would throw an exception.
From v100.12, geometries with curves are supported.
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 |