DbSpatialServices.GetEnvelope(DbGeometry) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the envelope (minimum bounding box) of the given DbGeometry value, as a geometry value.
public abstract System.Data.Entity.Spatial.DbGeometry GetEnvelope (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetEnvelope : System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public MustOverride Function GetEnvelope (geometryValue As DbGeometry) As DbGeometry
Parameters
- geometryValue
- DbGeometry
The geometry value for which the envelope value should be retrieved.
Returns
The envelope of geometryValue, as a DbGeometry value.
Exceptions
geometryValue
is null.
geometryValue
is not compatible with this spatial services implementation.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework