語言

DbGeography.ElementAt(Int32) 方法

定義

若該 DbGeography 代表地理集合,則會回傳該 DbGeography 值的一個元素。 <param name=“index”> 該元素應從此地理值中取出的位置。</參數><如果該地理值代表其他地理值的集合,則回傳>該地理值中指定位置的元素;否則為空。</回歸>

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

參數

index
Int32

索引。

傳回

來自特定位置的 DbGeography 值元素

適用於