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

定義

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

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression SpatialElementAt (this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue, System.Data.Entity.Core.Common.CommandTrees.DbExpression indexValue);
static member SpatialElementAt : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialElementAt (spatialValue As DbExpression, indexValue As DbExpression) As DbFunctionExpression

パラメーター

spatialValue
DbExpression

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

indexValue
DbExpression

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

戻り値

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

適用対象