DbSpatialServices.Union メソッド (DbGeometry, DbGeometry)
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
2 つの DbGeometry 値の和集合を計算します。
名前空間: System.Data.Entity.Spatial
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
Public MustOverride Function Union ( _
geometryValue As DbGeometry, _
otherGeometry As DbGeometry _
) As DbGeometry
'使用
Dim instance As DbSpatialServices
Dim geometryValue As DbGeometry
Dim otherGeometry As DbGeometry
Dim returnValue As DbGeometry
returnValue = instance.Union(geometryValue, _
otherGeometry)
public abstract DbGeometry Union(
DbGeometry geometryValue,
DbGeometry otherGeometry
)
public:
virtual DbGeometry^ Union(
DbGeometry^ geometryValue,
DbGeometry^ otherGeometry
) abstract
abstract Union :
geometryValue:DbGeometry *
otherGeometry:DbGeometry -> DbGeometry
public abstract function Union(
geometryValue : DbGeometry,
otherGeometry : DbGeometry
) : DbGeometry
パラメーター
- geometryValue
型 : System.Data.Entity.Spatial.DbGeometry
最初の geometry 値。
- otherGeometry
型 : System.Data.Entity.Spatial.DbGeometry
2 番目の geometry 値。
戻り値
型 : System.Data.Entity.Spatial.DbGeometry
geometryValue と otherGeometry の和集合を表す新しい DbGeometry 値。
例外
例外 | 状態 |
---|---|
ArgumentNullException | geometryValue または otherGeometry が null です。 |
ArgumentException | geometryValue または otherGeometry は、この空間サービスの実装と互換性がありません。 |