Language

SqlSpatialServices.ElementAt メソッド

定義

オーバーロード

Name 説明
ElementAt(DbGeography, Int32)

geography コレクションを表す場合は、指定した DbGeography 値の要素を返します。

ElementAt(DbGeometry, Int32)

geometry コレクションを表す場合は、指定した DbGeometry 値の要素を返します。

ElementAt(DbGeography, Int32)

geography コレクションを表す場合は、指定した DbGeography 値の要素を返します。

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 コレクションを表す必要のない geography 値。

index
Int32

要素の取得元となる geography 値内の位置。

戻り値

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

適用対象

ElementAt(DbGeometry, Int32)

geometry コレクションを表す場合は、指定した DbGeometry 値の要素を返します。

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 値。geometry コレクションを表す必要はありません。

index
Int32

要素の取得元となる geometry 値内の位置。

戻り値

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

適用対象