SpatialEdmFunctions.GeometryLineFromText(DbExpression, DbExpression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 DbFunctionExpression 一個,能呼叫典型的 'GeometryLineFromText' 函式,並附上指定的參數。
lineWellKnownText 必須有字串結果型別,而 coordinateSystemId 必須有整數數值結果型別。 表達式的結果類型為Edm.Geometry。
public:
static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeometryLineFromText(System::Data::Common::CommandTrees::DbExpression ^ lineWellKnownText, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeometryLineFromText(System.Data.Common.CommandTrees.DbExpression lineWellKnownText, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeometryLineFromText : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeometryLineFromText (lineWellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression
參數
- lineWellKnownText
- DbExpression
一個表達式,提供眾所周知的幾何線值文字表示。
- coordinateSystemId
- DbExpression
一個表示式,提供幾何線值座標系的座標系統 ID(SRID)。
傳回
一個新的 DbFunctionExpression,根據指定的值回傳新的幾何線值。
例外狀況
lineWellKnownText
coordinateSystemId
lineWellKnownText
coordinateSystemId