SpatialEdmFunctions.AsText(DbExpression) Methode

Definition

Erstellt eine DbFunctionExpression , die die kanonische "AsText"-Funktion mit dem angegebenen Argument aufruft, die einen Edm.Geography- oder Edm.Geometry-Ergebnistyp aufweisen muss. Der Ergebnistyp des Ausdrucks ist "Edm.String".

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ AsText(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression AsText(this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member AsText : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function AsText (spatialValue As DbExpression) As DbFunctionExpression

Parameter

spatialValue
DbExpression

Ein Ausdruck, der den räumlichen Wert angibt, aus dem die bekannte Textdarstellung erzeugt werden soll.

Gibt zurück

Ein neuer DbFunctionExpression, der die bekannte Textdarstellung von spatialValue.

Ausnahmen

spatialValue

spatialValue

Gilt für: