SqlSpatialServices.GeographyMultiLineFromText 方法
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
根據指定的已知文字值和座標系統識別項,建立新的 DbGeography 多線值。
命名空間: System.Data.Entity.SqlServer
組件: EntityFramework.SqlServer (在 EntityFramework.SqlServer.dll 中)
語法
'宣告
Public Overrides Function GeographyMultiLineFromText ( _
multiLineWellKnownText As String, _
coordinateSystemId As Integer _
) As DbGeography
'用途
Dim instance As SqlSpatialServices
Dim multiLineWellKnownText As String
Dim coordinateSystemId As Integer
Dim returnValue As DbGeography
returnValue = instance.GeographyMultiLineFromText(multiLineWellKnownText, _
coordinateSystemId)
public override DbGeography GeographyMultiLineFromText(
string multiLineWellKnownText,
int coordinateSystemId
)
public:
virtual DbGeography^ GeographyMultiLineFromText(
String^ multiLineWellKnownText,
int coordinateSystemId
) override
abstract GeographyMultiLineFromText :
multiLineWellKnownText:string *
coordinateSystemId:int -> DbGeography
override GeographyMultiLineFromText :
multiLineWellKnownText:string *
coordinateSystemId:int -> DbGeography
public override function GeographyMultiLineFromText(
multiLineWellKnownText : String,
coordinateSystemId : int
) : DbGeography
參數
- multiLineWellKnownText
類型:System.String
已知文字值。
- coordinateSystemId
類型:System.Int32
座標系統識別項。
傳回值
類型:System.Data.Entity.Spatial.DbGeography
新的 DbGeography 多線值。