語言

DbGeometry.ElementAt(Int32) 方法

定義

若該 DbGeometry 值代表幾何集合,則會從特定位置回傳該 DbGeometry 值的元素。 <param name =“index”> 元素應從此幾何值中取出的位置。</param><會回傳>該幾何值中指定位置的元素,若它代表其他幾何值的集合;否則為零。</回歸>

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

參數

index
Int32

索引。

傳回

來自特定位置的 DbGeometry 值中的一個元素。

適用於