SpatialEdmFunctions.PointAt(DbExpression, DbExpression) Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen "PointAt" med de angivna argumenten. Det första argumentet måste ha resultattypen Edm.Geography eller Edm.Geometry. Det andra argumentet måste ha en numerisk resultattyp för heltal. Resultattypen för uttrycket är samma som spatialValueför .

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

Parametrar

spatialValue
DbExpression

Ett uttryck som anger värdet för den rumsliga linjesträngen.

indexValue
DbExpression

Ett uttryck som anger positionen för den punkt som ska hämtas inifrån radsträngen.

Returer

En ny DbFunctionExpression som antingen returnerar punkten vid position indexValue i spatialValue eller null om spatialValue den inte är en radsträng.

Undantag

spatialValue indexValue

Gäller för