SpatialEdmFunctions.Elevation(DbExpression) Méthode

Définition

Crée une DbFunctionExpression appelant la fonction « Elevation » 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.Double.

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

Paramètres

spatialValue
DbExpression

Expression qui spécifie la valeur spatiale de point à partir de laquelle la valeur d'élévation (coordonnées Z) doit être extraite.

Retours

Nouvelle DbFunctionExpression qui retourne soit la valeur d'élévation de spatialValue soit null si spatialValue n'est pas un point.

Exceptions

spatialValue

spatialValue

S’applique à