Language

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

geography または geometry コレクション値を指定する式。

indexValue
DbExpression

geometry または geography コレクション内から取得する要素の位置を指定する式。

戻り値

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

適用対象