SpatialEdmFunctions.PointAt(DbExpression, DbExpression) Metoda

Definicja

Tworzy obiekt DbFunctionExpression , który wywołuje kanoniczną funkcję "PointAt" z określonymi argumentami. Pierwszy argument musi mieć typ wyniku Edm.Geography lub Edm.Geometry. Drugi argument musi mieć typ wyniku liczbowego liczby całkowitej. Typ wyniku wyrażenia jest taki sam jak typ spatialValuewyrażenia .

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

Wyrażenie określające wartość ciągu linii przestrzennej.

indexValue
DbExpression

Wyrażenie określające położenie punktu do pobrania z ciągu wiersza.

Zwraca

Nowa funkcja DbFunctionExpression, która zwraca punkt w pozycji w spatialValue elem lub indexValuenull jeśli spatialValue nie jest ciągiem wiersza.

Wyjątki

spatialValue indexValue

Dotyczy