Freigeben über


SpatialEdmFunctions.GeographyPointFromBinary Methode

Definition

Erstellt ein DbFunctionExpression, das die kanonische „GeographyPointFromBinary“-Funktion mit den angegebenen Argumenten aufruft. pointWellKnownBinaryValue muss einen binären Ergebnistyp haben, während coordinateSystemId einen ganzzahligen, numerischen Ergebnistyp haben muss. Der Ergebnistyp des Ausdrucks ist 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

Parameter

pointWellKnownBinaryValue
DbExpression

Ein Ausdruck, der die bekannte binäre Darstellung des Geografiepunktwerts bereitstellt.

coordinateSystemId
DbExpression

Ein Ausdruck, der die Koordinatensystem-ID (SRID) des Koordinatensystems des systempointWellKnownBinaryValue bereitstellt.

Gibt zurück

Ein neues DbFunctionExpression, das den neuen Geografiepunktwert anhand der angegebenen Werte zurückgibt.

Ausnahmen

pointWellKnownBinaryValue coordinateSystemId

pointWellKnownBinaryValue coordinateSystemId

Gilt für: