英語で読む

次の方法で共有


SpatialEdmFunctions.SpatialDifference(DbExpression, DbExpression) メソッド

定義

指定した引数で正規の 'SpatialDifference' 関数を呼び出す DbFunctionExpression を作成します。指定する引数の結果型は Edm.Geography または Edm.Geometry である必要があります。 spatialValue1 の結果型と spatialValue2 の結果型は一致している必要があります。 式の結果型は spatialValue1 および spatialValue2 の型と同じです。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ SpatialDifference(System::Data::Common::CommandTrees::DbExpression ^ spatialValue1, System::Data::Common::CommandTrees::DbExpression ^ spatialValue2);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialDifference (this System.Data.Common.CommandTrees.DbExpression spatialValue1, System.Data.Common.CommandTrees.DbExpression spatialValue2);
static member SpatialDifference : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialDifference (spatialValue1 As DbExpression, spatialValue2 As DbExpression) As DbFunctionExpression

パラメーター

spatialValue1
DbExpression

1 つ目の空間値を指定する式。

spatialValue2
DbExpression

spatialValue1 との差を計算する必要がある空間値を指定する式。

戻り値

spatialValue2spatialValue1 との差を表す geometry 値を返す新しい DbFunctionExpression。

例外

spatialValue1 spatialValue2

spatialValue1 spatialValue2

適用対象

製品 バージョン
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1