SpatialEdmFunctions.SpatialElementCount(DbExpression) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した引数を使用して正規の 'SpatialElementCount' 関数を呼び出す DbFunctionExpression を作成します。この関数の結果型は Edm.Geography または Edm.Geometry である必要があります。 式の結果の型は Edm.Int32 です。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ SpatialElementCount(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialElementCount(this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member SpatialElementCount : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialElementCount (spatialValue As DbExpression) As DbFunctionExpression
パラメーター
- spatialValue
- DbExpression
要素の数を取得する geography または geometry コレクション値を指定する式。
返品
spatialValue内の要素の数を返す新しい DbFunctionExpression。コレクションでない場合はnullspatialValue。
例外
spatialValue
spatialValue