DbGeography.ElementAt(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
若該 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 值元素