语言

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 值应使用的坐标系的标识符。

返回

由具有指定坐标系标识符(SRID)(SRID)的已知文本值定义的新DbGeometry值。 DefaultCoordinateSystemId

适用于