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