SpatialEdmFunctions.PointCount(DbExpression) Methode

Definitie

Hiermee maakt u een DbFunctionExpression functie die de canonieke 'PointCount'-functie aanroept met het opgegeven argument, dat een resultaattype Edm.Geography of Edm.Geometry moet hebben. Het resultaattype van de expressie is 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

Parameters

spatialValue
DbExpression

Een expressie waarmee de tekenreekswaarde voor ruimtelijke lijnen wordt opgegeven waaruit het aantal punten moet worden opgehaald.

Retouren

Een nieuwe DbFunctionExpression die het aantal punten in spatialValuenull of als spatialValue dit geen regeltekenreeks is, retourneert.

Uitzonderingen

spatialValue

spatialValue

Van toepassing op