共用方式為


SpatialEdmFunctions.GeometryPolygonFromBinary 方法

定義

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

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

參數

polygonWellKnownBinaryValue
DbExpression

提供幾何多邊形值之已知二進位表示的運算式。

coordinateSystemId
DbExpression

運算式,提供幾何多邊形值座標系統的座標系統 ID (SRID)。

傳回

根據指定值傳回新幾何多邊形值的新 DbFunctionExpression。

例外狀況

polygonWellKnownBinaryValue coordinateSystemId

polygonWellKnownBinaryValue coordinateSystemId

適用於