DbGeometry.ElementAt(Int32) 方法

定義

若該 DbGeometry 值代表幾何集合,則會從特定位置回傳該 DbGeometry 值的元素。

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

參數

index
Int32

該元素應從此幾何值中取出的位置。

傳回

若該元素代表其他幾何值的集合,則該幾何值在指定位置;否則,。 null

適用於