SpatialEdmFunctions.AsText(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 objet DbFunctionExpression appelant la fonction « AsText » canonique avec l'argument spécifié, qui doit avoir un résultat de type Edm.Geography ou Edm.Geometry. Le type de résultat de l'expression est Edm.String.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ AsText(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression AsText (this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member AsText : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function AsText (spatialValue As DbExpression) As DbFunctionExpression
Paramètres
- spatialValue
- DbExpression
Expression qui spécifie la valeur spatiale selon laquelle la représentation textuelle connue doit être produite.
Retours
Nouvelle DbFunctionExpression qui retourne la représentation de texte connue de spatialValue
.
Exceptions
spatialValue
spatialValue
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour