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

定義

指定された引数で正規の 'SpatialElementAt' 関数を呼び出す DbFunctionExpression を作成します。 最初の引数には、Edm.Geography 結果型または Edm.Geometry 結果型が含まれる必要があります。 2 番目の引数は、整数の数値結果型である必要があります。 式の結果型は spatialValue の結果型と同じです。

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

パラメーター

spatialValue
DbExpression

地理またはジオメトリのコレクション値を指定する式。

indexValue
DbExpression

地理またはジオメトリのコレクションから取得される要素の位置を指定する式。

戻り値

indexValue 内の位置 spatialValue にあるコレクション要素を返す、または spatialValue がコレクションでない場合は null を返す新しい DbFunctionExpression。

例外

spatialValue indexValue

適用対象