SpatialEdmFunctions.Centroid(DbExpression) メソッド

定義

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

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

パラメーター

geometryValue
DbExpression

重心を取得するジオメトリ サーフェスの値を指定する式。

返品

geometryValueの重心点 (サーフェス自体に存在しない可能性があります) を返すか、nullがサーフェスでない場合にgeometryValueする新しい DbFunctionExpression。

例外

geometryValue

geometryValue

適用対象