SpatialEdmFunctions.PointAt(DbExpression, DbExpression) Método

Definição

Cria uma DbFunctionExpression que invoca a função "PointAt" canônica 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 de cadeia de caracteres da linha espacial.

indexValue
DbExpression

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

Retornos

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

Exceções

spatialValue indexValue

Aplica-se a