SpatialEdmFunctions.PointCount(DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'PointCount' canonica con l'argomento specificato, che deve presentare un tipo di risultato Edm.Geography o Edm.Geometry. Il tipo di risultato dell'espressione è 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

Parametri

spatialValue
DbExpression

Espressione che specifica il valore della stringa di linea spaziale da cui recuperare il numero di punti.

Restituisce

DbFunctionExpression

Nuovo DbFunctionExpression che restituisce il numero di punti in spatialValue o null se spatialValue non è una riga di comando.

Eccezioni

spatialValue

spatialValue

Si applica a