共用方式為


SpatialEdmFunctions.GeometryFromGml 方法

定義

建立會叫用標準 'GeometryFromGml' 函式的 DbFunctionExpression

多載

GeometryFromGml(DbExpression)

建立會使用指定引數叫用標準 'GeometryFromGml' 函式的 DbFunctionExpression,其中的引數必須具有字串結果型別。 運算式的結果型別為 Edm.Geometry。

GeometryFromGml(DbExpression, DbExpression)

建立一個使用指定引數叫用標準 'GeometryFromGml' 函式的 DbFunctionExpressiongeometryMarkup 必須具有字串結果型別,而 coordinateSystemId 必須具有整數數值結果型別。 運算式的結果型別為 Edm.Geometry。

GeometryFromGml(DbExpression)

建立會使用指定引數叫用標準 'GeometryFromGml' 函式的 DbFunctionExpression,其中的引數必須具有字串結果型別。 運算式的結果型別為 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) 表示的運算式。

傳回

根據以基礎提供者預設座標系統 ID (SRID) 所指定之值傳回新幾何值的新 DbFunctionExpression。

例外狀況

geometryMarkup

geometryMarkup

適用於

GeometryFromGml(DbExpression, DbExpression)

建立一個使用指定引數叫用標準 'GeometryFromGml' 函式的 DbFunctionExpressiongeometryMarkup 必須具有字串結果型別,而 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

適用於