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

定義

指定した引数で正規の 'SpatialContains' 関数を呼び出す DbFunctionExpression を作成します。指定する引数の結果型は Edm.Geometry である必要があります。 式の結果型は Edm.Boolean です。

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

パラメーター

geometryValue1
DbExpression

1 つ目のジオメトリ値を指定する式。

geometryValue2
DbExpression

geometryValue1 と比較する必要がある geometry 値を指定する式。

戻り値

DbFunctionExpression

geometryValue1 が空間的に geometryValue2 を含むかどうかを示すブール値を返す新しい DbFunctionExpression。

例外

geometryValue1 geometryValue2

geometryValue1 geometryValue2

適用対象