다음을 통해 공유


DbSpatialServices.ElementAt 메서드

정의

오버로드

ElementAt(DbGeography, Int32)

지리 컬렉션을 나타내는 경우 지정된 DbGeography 값의 요소를 반환합니다.

ElementAt(DbGeometry, Int32)

기하 도형을 나타내는 경우 지정된 DbGeometry 값의 요소를 반환합니다.

ElementAt(DbGeography, Int32)

지리 컬렉션을 나타내는 경우 지정된 DbGeography 값의 요소를 반환합니다.

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

매개 변수

geographyValue
DbGeography

지리 컬렉션을 나타낼 필요가 없는 지리 값입니다.

index
Int32

요소를 수행해야 하는 지리 값 내부의 위치입니다.

반환

geographyValue의 요소는 위치 인덱스에서 다른 geography 값의 컬렉션을 나타내는 경우 입니다. 그렇지 않으면 null입니다.

예외

geographyValue가 null입니다.

geographyValue 이 공간 서비스 구현과 호환되지 않습니다.

적용 대상

ElementAt(DbGeometry, Int32)

기하 도형을 나타내는 경우 지정된 DbGeometry 값의 요소를 반환합니다.

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

매개 변수

geometryValue
DbGeometry

기하 컬렉션을 나타낼 필요가 없는 기하 값입니다.

index
Int32

요소를 수행해야 하는 기하 값 내부의 위치입니다.

반환

geometryValue의 요소는 위치 인덱스에서 다른 기하 도형 값의 컬렉션을 나타내는 경우 입니다. 그렇지 않으면 null입니다.

예외

geometryValue가 null입니다.

geometryValue 이 공간 서비스 구현과 호환되지 않습니다.

적용 대상