SpatialEdmFunctions.GeometryPointFromText(DbExpression, DbExpression) 方法

定義

建立 DbFunctionExpression 一個,並呼叫標準的「GeometryPointFromText」函式,並附上指定的參數。 pointWellKnownText 必須有字串結果型別,而 coordinateSystemId 必須有整數數值結果型別。 表達式的結果類型為Edm.Geometry。

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeometryPointFromText(System::Data::Common::CommandTrees::DbExpression ^ pointWellKnownText, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeometryPointFromText(System.Data.Common.CommandTrees.DbExpression pointWellKnownText, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeometryPointFromText : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeometryPointFromText (pointWellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

參數

pointWellKnownText
DbExpression

一個表達式,提供眾所周知的幾何點數值的文字表示。

coordinateSystemId
DbExpression

一個表示式,提供幾何點值座標系的座標系 ID(SRID)。

傳回

一個新的 DbFunctionExpression,根據指定的值回傳新的幾何點值。

例外狀況

pointWellKnownText coordinateSystemId

pointWellKnownText coordinateSystemId

適用於