SpatialEdmFunctions.GeometryFromGml 方法

定義

建立 DbFunctionExpression 一個,喚起典型的「GeometryFromGml」函數。

多載

名稱 Description
GeometryFromGml(DbExpression)

建立 DbFunctionExpression 一個,呼叫標準的「GeometryFromGml」函式,並指定參數,且必須有字串結果型別。 表達式的結果類型為Edm.Geometry。

GeometryFromGml(DbExpression, DbExpression)

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

GeometryFromGml(DbExpression)

建立 DbFunctionExpression 一個,呼叫標準的「GeometryFromGml」函式,並指定參數,且必須有字串結果型別。 表達式的結果類型為Edm.Geometry。

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeometryFromGml(System::Data::Common::CommandTrees::DbExpression ^ geometryMarkup);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeometryFromGml(System.Data.Common.CommandTrees.DbExpression geometryMarkup);
static member GeometryFromGml : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeometryFromGml (geometryMarkup As DbExpression) As DbFunctionExpression

參數

geometryMarkup
DbExpression

一個表達式,提供地理標記語言(GML)表示該幾何值。

傳回

一個新的 DbFunctionExpression,根據指定值回傳一個新的幾何值,並使用底層提供者的預設座標系 ID(SRID)。

例外狀況

geometryMarkup

geometryMarkup

適用於

GeometryFromGml(DbExpression, DbExpression)

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

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

參數

geometryMarkup
DbExpression

一個表達式,提供地理標記語言(GML)表示該幾何值。

coordinateSystemId
DbExpression

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

傳回

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

例外狀況

geometryMarkup coordinateSystemId

geometryMarkup coordinateSystemId

適用於