SpatialEdmFunctions.GeometryPointFromText(DbExpression, DbExpression) Methode

Definition

Erstellt ein DbFunctionExpression, das die kanonische „GeometryPointFromText“-Funktion mit den angegebenen Argumenten aufruft. pointWellKnownText muss einen Zeichenfolgenergebnistyp haben, während coordinateSystemId einen ganzzahligen, numerischen Ergebnistyp haben muss. Der Ergebnistyp des Ausdrucks ist Edm.Geometry.

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

Parameter

pointWellKnownText
DbExpression

Ein Ausdruck, der die bekannte Textdarstellung des Geometriepunktwerts bereitstellt.

coordinateSystemId
DbExpression

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

Gibt zurück

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

Ausnahmen

pointWellKnownText coordinateSystemId

pointWellKnownText coordinateSystemId

Gilt für: