語言

SqlSpatialServices.GeographyLineFromText(String, Int32) 方法

定義

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

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

參數

lineWellKnownText
String

一個包含地理值已知文字表示的字串。

coordinateSystemId
Int32

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

傳回

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

適用於