DbSpatialServices.GetIsValid(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.
Returns a nullable Boolean value that whether the given DbGeometry value is valid.
public abstract bool GetIsValid (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetIsValid : System.Data.Entity.Spatial.DbGeometry -> bool
Public MustOverride Function GetIsValid (geometryValue As DbGeometry) As Boolean
Parameters
- geometryValue
- DbGeometry
The geometry value.
Returns
True if the given DbGeometry value is valid; otherwise, false.
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