Udostępnij przez


SqlSpatialServices.ElementAt Metoda

Definicja

Przeciążenia

ElementAt(DbGeography, Int32)

Zwraca element danej DbGeography wartości, jeśli reprezentuje kolekcję geografii.

ElementAt(DbGeometry, Int32)

Zwraca element danej DbGeometry wartości, jeśli reprezentuje kolekcję geometrii.

ElementAt(DbGeography, Int32)

Zwraca element danej DbGeography wartości, jeśli reprezentuje kolekcję geografii.

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

Parametry

geographyValue
DbGeography

Wartość geografii, która nie musi reprezentować kolekcji geograficznej.

index
Int32

Pozycja w wartości geograficznej, z której ma zostać wykonany element.

Zwraca

Element w lokalizacji geographyValue w indeksie pozycji, jeśli reprezentuje kolekcję innych wartości geograficznych; w przeciwnym razie wartość null.

Dotyczy

ElementAt(DbGeometry, Int32)

Zwraca element danej DbGeometry wartości, jeśli reprezentuje kolekcję geometrii.

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

Parametry

geometryValue
DbGeometry

Wartość geometryczna, która nie musi reprezentować kolekcji geometrii.

index
Int32

Położenie w wartości geometrycznej, z której ma zostać wykonany element.

Zwraca

Element w pliku geometryValue w indeksie pozycji, jeśli reprezentuje kolekcję innych wartości geometrycznych; w przeciwnym razie wartość null.

Dotyczy