Share via


DbSpatialServices.ElementAt Método

Definición

Devuelve un elemento del valor dado.

Sobrecargas

ElementAt(DbGeography, Int32)

Devuelve un elemento del valor DbGeography dado, si representa una colección de geografía.

ElementAt(DbGeometry, Int32)

Devuelve un elemento del valor DbGeometry dado, si representa una colección de geometría.

ElementAt(DbGeography, Int32)

Devuelve un elemento del valor DbGeography dado, si representa una colección de geografía.

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

Parámetros

geographyValue
DbGeography

Valor de geografía, que no necesita representar una colección de geografía.

index
Int32

La posición dentro del valor de geografía de la que se debe tomar el elemento.

Devoluciones

Elemento de geographyValue en la posición index, si representa una colección de otros valores de geografía; de lo contrario, null.

Excepciones

geographyValue

geographyValue

Se aplica a

ElementAt(DbGeometry, Int32)

Devuelve un elemento del valor DbGeometry dado, si representa una colección de geometría.

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

Parámetros

geometryValue
DbGeometry

Valor de geometría, que no necesita representar una colección de geometría.

index
Int32

La posición dentro del valor de geometría de la que se debe tomar el elemento.

Devoluciones

Elemento de geometryValue en la posición index, si representa una colección de otros valores de geometría; de lo contrario, null.

Excepciones

geometryValue

geometryValue

Se aplica a