SpatialEdmFunctions.PointCount(DbExpression) Méthode

Définition

Crée un objet DbFunctionExpression appelant la fonction « PointCount » canonique avec l'argument spécifié, qui doit avoir un résultat de type Edm.Geography ou Edm.Geometry. Le résultat de l’expression est de type Edm.Int32.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ PointCount(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression PointCount (this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member PointCount : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function PointCount (spatialValue As DbExpression) As DbFunctionExpression

Paramètres

spatialValue
DbExpression

Expression qui spécifie la valeur de chaîne spatiale de ligne dans laquelle le nombre de points doit être extrait.

Retours

Nouvelle DbFunctionExpression qui retourne soit le nombre de points dans spatialValue soit null si spatialValue n'est pas une chaîne de ligne.

Exceptions

spatialValue

spatialValue

S’applique à