SpatialEdmFunctions.Area(DbExpression) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un DbFunctionExpression élément qui appelle la fonction « Area » canonique avec l’argument spécifié, qui doit avoir un type de résultat Edm.Geography ou Edm.Geometry. Le type de résultat de l’expression est Edm.Double.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ Area(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression Area(this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member Area : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Area (spatialValue As DbExpression) As DbFunctionExpression
Paramètres
- spatialValue
- DbExpression
Expression qui spécifie la valeur de la surface spatiale pour laquelle la zone doit être calculée.
Retours
Nouvelle DbFunctionExpression qui retourne la zone ou spatialValuenull si spatialValue elle n’est pas une surface.
Exceptions
spatialValue
spatialValue