共用方式為


DbGeometry.ElementAt(Int32) 方法

定義

從指定位置傳回此 DbGeometry 值的項目,若此項目代表幾何集合。 <param name=「index」 > 應該從中取得元素的這個幾何值內的位置。 <如果 /param >< 代表其他幾何值的集合,則傳回這個幾何值中位於指定位置的專案,否則傳回 > null。 </返回>

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 值之特定位置中的項目。

適用於