Sdílet prostřednictvím


SpatialEdmFunctions.PointAt(DbExpression, DbExpression) Metoda

Definice

Vytvoří , DbFunctionExpression který vyvolá kanonický 'PointAt' funkce se zadanými argumenty. První argument musí mít typ výsledku Edm.Geography nebo Edm.Geometry. Druhý argument musí mít celočíselný typ výsledku. Typ výsledku výrazu je stejný jako typ výrazu 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

Parametry

spatialValue
DbExpression

Výraz, který určuje hodnotu řetězce prostorového řádku.

indexValue
DbExpression

Výraz, který určuje pozici bodu, který se má načíst z řetězce řádku.

Návraty

Nový DbFunctionExpression, který vrátí bod na pozici indexValue v spatialValue nebo null pokud spatialValue není řetězec řádku.

Výjimky

spatialValue indexValue

Platí pro