SpatialEdmFunctions.PointAt(DbExpression, DbExpression) Método

Definição

Cria um DbFunctionExpression que invoca a função canónica 'PointAt' com os argumentos especificados. O primeiro argumento deve ter um tipo de resultado Edm.Geography ou Edm.Geometry. O segundo argumento deve ter um tipo de resultado numérico inteiro. O tipo de resultado da expressão é o mesmo que o 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

Uma expressão que especifica o valor da cadeia de linha espacial.

indexValue
DbExpression

Uma expressão que especifica a posição do ponto a ser recuperado dentro da cadeia de linha.

Devoluções

Uma nova DbFunctionExpression que devolve ou o ponto na posição indexValue em spatialValue ou null se spatialValue não for uma cadeia de linha.

Exceções

spatialValue indexValue

Aplica-se a