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