DbSpatialServices.ElementAt メソッド

定義

指定された値の要素を返します。

オーバーロード

名前 説明
ElementAt(DbGeography, Int32)

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

ElementAt(DbGeometry, Int32)

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

ElementAt(DbGeography, Int32)

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

public:
 abstract System::Data::Spatial::DbGeography ^ ElementAt(System::Data::Spatial::DbGeography ^ geographyValue, int index);
public abstract System.Data.Spatial.DbGeography ElementAt(System.Data.Spatial.DbGeography geographyValue, int index);
abstract member ElementAt : System.Data.Spatial.DbGeography * int -> System.Data.Spatial.DbGeography
Public MustOverride Function ElementAt (geographyValue As DbGeography, index As Integer) As DbGeography

パラメーター

geographyValue
DbGeography

geography コレクションを表す必要のない geography 値。

index
Int32

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

返品

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

例外

geographyValue

geographyValue

適用対象

ElementAt(DbGeometry, Int32)

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

public:
 abstract System::Data::Spatial::DbGeometry ^ ElementAt(System::Data::Spatial::DbGeometry ^ geometryValue, int index);
public abstract System.Data.Spatial.DbGeometry ElementAt(System.Data.Spatial.DbGeometry geometryValue, int index);
abstract member ElementAt : System.Data.Spatial.DbGeometry * int -> System.Data.Spatial.DbGeometry
Public MustOverride Function ElementAt (geometryValue As DbGeometry, index As Integer) As DbGeometry

パラメーター

geometryValue
DbGeometry

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

index
Int32

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

返品

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

例外

geometryValue

geometryValue

適用対象