SpatialEdmFunctions.PointAt(DbExpression, DbExpression) Methode

Definition

Erstellt eine DbFunctionExpression Funktion, die die kanonische "PointAt"-Funktion mit den angegebenen Argumenten aufruft. Das erste Argument muss einen Ergebnistyp "Edm.Geography" oder "Edm.Geometry" aufweisen. Das zweite Argument muss über einen ganzzahligen numerischen Ergebnistyp verfügen. Der Ergebnistyp des Ausdrucks ist identisch mit dem des Ausdrucks.spatialValue

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

Parameter

spatialValue
DbExpression

Ein Ausdruck, der den Wert der räumlichen Linienzeichenfolge angibt.

indexValue
DbExpression

Ein Ausdruck, der die Position des Punkts angibt, der aus der Zeilenzeichenfolge abgerufen werden soll.

Gibt zurück

Ein neuer DbFunctionExpression,der entweder den Punkt an der Position indexValue in spatialValue oder null wenn spatialValue es sich nicht um eine Zeilenzeichenfolge handelt.

Ausnahmen

spatialValue indexValue

Gilt für: