SpatialEdmFunctions.AsText(DbExpression) Methode

Definition

Erstellt einen DbFunctionExpression, der die kanonische AsText-Funktion mit dem angegebenen Argument aufruft, das den Ergebnistyp Edm.Geography oder Edm.Geometry 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 erstellt werden muss.

Gibt zurück

Ein neues DbFunctionExpression, das die bekannte Textdarstellung von spatialValue zurückgibt.

Ausnahmen

spatialValue

spatialValue

Gilt für: