SpatialEdmFunctions.PointCount(DbExpression) Methode

Definition

Erstellt eine DbFunctionExpression , die die kanonische "PointCount"-Funktion mit dem angegebenen Argument aufruft, die einen Edm.Geography- oder Edm.Geometry-Ergebnistyp aufweisen muss. Der Ergebnistyp des Ausdrucks ist 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

Parameter

spatialValue
DbExpression

Ein Ausdruck, der den Räumlichen Zeilenzeichenfolgenwert angibt, aus dem die Anzahl der Punkte abgerufen werden soll.

Gibt zurück

Ein neuer DbFunctionExpression, der entweder die Anzahl der Punkte in spatialValue oder null wenn spatialValue es sich nicht um eine Zeilenzeichenfolge handelt.

Ausnahmen

spatialValue

spatialValue

Gilt für: