次の方法で共有


SqlSpatialServices.ElementAt メソッド

定義

オーバーロード

ElementAt(DbGeography, Int32)

特定の DbGeography 値が geography コレクションを表す場合、その値の要素を返します。

ElementAt(DbGeometry, Int32)

特定の DbGeometry 値が geography コレクションを表す場合、その値の要素を返します。

ElementAt(DbGeography, Int32)

特定の DbGeography 値が geography コレクションを表す場合、その値の要素を返します。

public override System.Data.Entity.Spatial.DbGeography ElementAt(System.Data.Entity.Spatial.DbGeography geographyValue, int index);
override this.ElementAt : System.Data.Entity.Spatial.DbGeography * int -> System.Data.Entity.Spatial.DbGeography
Public Overrides Function ElementAt (geographyValue As DbGeography, index As Integer) As DbGeography

パラメーター

geographyValue
DbGeography

geography 値。地理コレクションを表す必要はありません。

index
Int32

要素を取得する、geography 値内の位置。

戻り値

他の geography 値のコレクションを表す場合は、位置インデックスの geographyValue の要素。それ以外の場合は null。

適用対象

ElementAt(DbGeometry, Int32)

特定の DbGeometry 値が geography コレクションを表す場合、その値の要素を返します。

public override System.Data.Entity.Spatial.DbGeometry ElementAt(System.Data.Entity.Spatial.DbGeometry geometryValue, int index);
override this.ElementAt : System.Data.Entity.Spatial.DbGeometry * int -> System.Data.Entity.Spatial.DbGeometry
Public Overrides Function ElementAt (geometryValue As DbGeometry, index As Integer) As DbGeometry

パラメーター

geometryValue
DbGeometry

geometry 値。ジオメトリ コレクションを表す必要はありません。

index
Int32

要素を取得する、geometry 値内の位置。

戻り値

他の geometry 値のコレクションを表す場合は、位置インデックスの geometryValue 内の要素。それ以外の場合は null。

適用対象