SpatialEdmFunctions.PointAt(DbExpression, DbExpression) Méthode

Définition

Crée un DbFunctionExpression qui appelle la fonction « PointAt » canonique avec les arguments spécifiés. Le premier argument doit avoir un type de résultat Edm.Geography ou Edm.Geometry. Le deuxième argument doit avoir un type de résultat numérique entier. Le type de résultat de l’expression est identique à celui 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

Paramètres

spatialValue
DbExpression

Expression qui spécifie la valeur de chaîne de ligne spatiale.

indexValue
DbExpression

Expression qui spécifie la position du point à récupérer à partir de la chaîne de ligne.

Retours

Nouvelle DbFunctionExpression qui retourne le point à la position indexValue ou spatialValuenull s’il ne s’agit spatialValue pas d’une chaîne de ligne.

Exceptions

spatialValue indexValue

S’applique à