SpatialEdmFunctions.PointAt(DbExpression, DbExpression) Metoda

Definicja

Tworzy obiekt DbFunctionExpression , który wywołuje funkcję kanoniczną "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 w przypadku 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 liniowego przestrzennego.

indexValue
DbExpression

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

Zwraca

Nowa funkcja DbFunctionExpression zwracająca punkt w pozycji indexValue w spatialValue lub null jeśli spatialValue nie jest ciągiem wiersza.

Wyjątki

spatialValue indexValue

Dotyczy