SpatialEdmFunctions.PointCount(DbExpression) メソッド

定義

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

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

パラメーター

spatialValue
DbExpression

ポイント数の取得元となる空間線の文字列値を指定する式。

返品

spatialValueが行文字列でない場合は、spatialValueまたはnullのポイント数を返す新しい DbFunctionExpression。

例外

spatialValue

spatialValue

適用対象