SpatialEdmFunctions.Longitude(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 « Longitude » canonique avec l’argument spécifié, qui doit avoir un type de résultat Edm.Geography. Le type de résultat de l’expression est Edm.Double.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ Longitude(System::Data::Common::CommandTrees::DbExpression ^ geographyValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression Longitude(this System.Data.Common.CommandTrees.DbExpression geographyValue);
static member Longitude : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Longitude (geographyValue As DbExpression) As DbFunctionExpression
Paramètres
- geographyValue
- DbExpression
Expression qui spécifie la valeur de point géographique à partir de laquelle la valeur longitude doit être récupérée.
Retours
Nouvelle DbFunctionExpression qui retourne la valeur longitude de geographyValue ou null si geographyValue ce n’est pas un point.
Exceptions
geographyValue
geographyValue