DbSpatialServices.GetIsEmpty 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 value is closed.
Overloads
GetIsEmpty(DbGeography) |
Returns a nullable Boolean value that whether the given DbGeography value is empty. |
GetIsEmpty(DbGeometry) |
Returns a nullable Boolean value that whether the given DbGeometry value is empty. |
GetIsEmpty(DbGeography)
Returns a nullable Boolean value that whether the given DbGeography value is empty.
public:
abstract bool GetIsEmpty(System::Data::Spatial::DbGeography ^ geographyValue);
public abstract bool GetIsEmpty (System.Data.Spatial.DbGeography geographyValue);
abstract member GetIsEmpty : System.Data.Spatial.DbGeography -> bool
Public MustOverride Function GetIsEmpty (geographyValue As DbGeography) As Boolean
Parameters
- geographyValue
- DbGeography
The geography value.
Returns
true
if the given DbGeography value is empty; otherwise, false
.
Applies to
GetIsEmpty(DbGeometry)
Returns a nullable Boolean value that whether the given DbGeometry value is empty.
public:
abstract bool GetIsEmpty(System::Data::Spatial::DbGeometry ^ geometryValue);
public abstract bool GetIsEmpty (System.Data.Spatial.DbGeometry geometryValue);
abstract member GetIsEmpty : System.Data.Spatial.DbGeometry -> bool
Public MustOverride Function GetIsEmpty (geometryValue As DbGeometry) As Boolean
Parameters
- geometryValue
- DbGeometry
The geometry value.
Returns
true
if the given DbGeometry value is empty; otherwise, false
.