SpatialEdmFunctions.Elevation(DbExpression) Méthode

Définition

Crée un DbFunctionExpression élément qui appelle la fonction « Élévation » 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 ^ 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 de point spatial à partir de laquelle la valeur d’élévation (colocalisation Z) doit être récupérée.

Retours

Nouvelle DbFunctionExpression qui retourne la valeur d’élévation ou spatialValuenull si spatialValue ce n’est pas un point.

Exceptions

spatialValue

spatialValue

S’applique à