SpatialEdmFunctions.PointAt(DbExpression, DbExpression) Método

Definición

Crea un DbFunctionExpression objeto que invoca la función 'PointAt' canónica con los argumentos especificados. El primer argumento debe tener un tipo de resultado Edm.Geography o Edm.Geometry. El segundo argumento debe tener un tipo de resultado numérico entero. El tipo de resultado de la expresión es el mismo que el de 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

Parámetros

spatialValue
DbExpression

Expresión que especifica el valor de la cadena de línea espacial.

indexValue
DbExpression

Expresión que especifica la posición del punto que se va a recuperar desde dentro de la cadena de línea.

Devoluciones

Nuevo DbFunctionExpression que devuelve el punto en la posición indexValue en spatialValue o null si spatialValue no es una cadena de línea.

Excepciones

spatialValue indexValue

Se aplica a