DbSpatialServices.GeometryCollectionFromText(String, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
根據指定的已知文字值和座標系統識別項 (SRID),建立新的 DbGeometry 集合值。
public abstract System.Data.Entity.Spatial.DbGeometry GeometryCollectionFromText(string geometryCollectionWellKnownText, int coordinateSystemId);
abstract member GeometryCollectionFromText : string * int -> System.Data.Entity.Spatial.DbGeometry
Public MustOverride Function GeometryCollectionFromText (geometryCollectionWellKnownText As String, coordinateSystemId As Integer) As DbGeometry
參數
- geometryCollectionWellKnownText
- String
包含幾何值之已知文字表示的字串。
- coordinateSystemId
- Int32
新的 DbGeometry 值應該使用的座標系統的識別項。
傳回
由已知文字值所定義的新 DbGeometry 值,其指定的座標系統識別碼 (SRID) ( DefaultCoordinateSystemId ) 。