DbSpatialServices.GetIsEmpty メソッド (DbGeography)
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
指定した DbGeography 値が空かどうかを表す null 許容型のブール値を返します。
名前空間: System.Data.Entity.Spatial
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
Public MustOverride Function GetIsEmpty ( _
geographyValue As DbGeography _
) As Boolean
'使用
Dim instance As DbSpatialServices
Dim geographyValue As DbGeography
Dim returnValue As Boolean
returnValue = instance.GetIsEmpty(geographyValue)
public abstract bool GetIsEmpty(
DbGeography geographyValue
)
public:
virtual bool GetIsEmpty(
DbGeography^ geographyValue
) abstract
abstract GetIsEmpty :
geographyValue:DbGeography -> bool
public abstract function GetIsEmpty(
geographyValue : DbGeography
) : boolean
パラメーター
- geographyValue
型 : System.Data.Entity.Spatial.DbGeography
geography 値。
戻り値
型 : System.Boolean
指定した DbGeography 値が空の場合は true。それ以外の場合は false。
例外
例外 | 状態 |
---|---|
ArgumentNullException | geographyValue が null です。 |
ArgumentException | geographyValue は、この空間サービスの実装と互換性がありません。 |