SpatialEdmFunctions.GeometryFromGml 方法
本文內容
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立會叫用標準 『GeometryFromGml』 函式的 DbFunctionExpression。
GeometryFromGml(DbExpression) |
使用指定的自變數,建立叫用標準 『GeometryFromGml』 函式的 DbFunctionExpression,該自變數必須具有字串結果型別。 表達式的結果類型為Edm.Geometry。 |
GeometryFromGml(DbExpression, DbExpression) |
建立 DbFunctionExpression,以使用指定的自變數叫用標準 'GeometryFromGml' 函式。
|
使用指定的自變數,建立叫用標準 『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
表達式,提供幾何值的 Geography 標記語言 (GML) 表示法。
傳回
新的 DbFunctionExpression,會根據基礎提供者的預設座標系統識別碼 (SRID) 指定值,傳回新的幾何值。
例外狀況
geometryMarkup
geometryMarkup
適用於
.NET Framework 4.8.1 及其他版本
產品 | 版本 |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
建立 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
表達式,提供幾何值的 Geography 標記語言 (GML) 表示法。
- coordinateSystemId
- DbExpression
表達式,提供幾何值座標系統的座標系統標識碼 (SRID)。
傳回
根據指定值傳回新幾何值的新 DbFunctionExpression。
例外狀況
geometryMarkup
coordinateSystemId
geometryMarkup
coordinateSystemId
適用於
.NET Framework 4.8.1 及其他版本
產品 | 版本 |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |