共用方式為


SpatialEdmFunctions.GeographyPointFromBinary 方法

定義

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

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

參數

pointWellKnownBinaryValue
DbExpression

提供地理點值之已知二進位表示的運算式。

coordinateSystemId
DbExpression

運算式,提供地理點值座標系統 pointWellKnownBinaryValue 的座標系統 ID (SRID)。

傳回

根據指定值傳回新地理點值的新 DbFunctionExpression。

例外狀況

pointWellKnownBinaryValue coordinateSystemId

pointWellKnownBinaryValue coordinateSystemId

適用於