DbSpatialServices.GetIsValid(DbGeometry) Method

Definition

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