DbGeography.ElementAt(Int32) 方法

定义

如果表示地理集合,则从特定位置返回此 DbGeography 值的元素。

public:
 System::Data::Spatial::DbGeography ^ ElementAt(int index);
public System.Data.Spatial.DbGeography ElementAt(int index);
member this.ElementAt : int -> System.Data.Spatial.DbGeography
Public Function ElementAt (index As Integer) As DbGeography

参数

index
Int32

应从中获取元素的地理值中的位置。

返回

如果此地理值表示其他地理值的集合,则此地理值中的元素位于指定位置;否则 null

适用于