語言

SqlSpatialServices.GeometryCollectionFromText(String, Int32) 方法

定義

根據指定的已知文字值與座標系統識別碼(SRID)建立新的 DbGeometry 集合值。

public override System.Data.Entity.Spatial.DbGeometry GeometryCollectionFromText(string geometryCollectionWellKnownText, int coordinateSystemId);
override this.GeometryCollectionFromText : string * int -> System.Data.Entity.Spatial.DbGeometry
Public Overrides Function GeometryCollectionFromText (geometryCollectionWellKnownText As String, coordinateSystemId As Integer) As DbGeometry

參數

geometryCollectionWellKnownText
String

一個包含幾何值已知文字表示的字串。

coordinateSystemId
Int32

新值應使用的座標系統 DbGeometry 識別碼。

傳回

由 DbGeometry 已知的文字值定義的新值,並指定座標系統識別碼(SRID)( DefaultCoordinateSystemId )。

適用於