SpatialEdmFunctions.Area(DbExpression) メソッド

定義

指定した引数を使用して正規の 'Area' 関数を呼び出す DbFunctionExpression を作成します。Edm.Geography または Edm.Geometry の結果型が必要です。 式の結果の型は Edm.Double です。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ Area(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression Area(this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member Area : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Area (spatialValue As DbExpression) As DbFunctionExpression

パラメーター

spatialValue
DbExpression

面積を計算する空間サーフェス値を指定する式。

返品

spatialValueがサーフェスでない場合は、nullまたはspatialValueのいずれかの領域を返す新しい DbFunctionExpression。

例外

spatialValue

spatialValue

適用対象