Annotatable.IMutableAnnotatable.SetOrRemoveAnnotation(String, Object) 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.
Définit l’annotation stockée sous le nom donné. Remplace l’annotation existante si une annotation portant le nom spécifié existe déjà. Supprime l’annotation existante si null
est fournie.
void IMutableAnnotatable.SetOrRemoveAnnotation (string name, object? value);
void IMutableAnnotatable.SetOrRemoveAnnotation (string name, object value);
abstract member Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.SetOrRemoveAnnotation : string * obj -> unit
override this.Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.SetOrRemoveAnnotation : string * obj -> unit
Sub SetOrRemoveAnnotation (name As String, value As Object) Implements IMutableAnnotatable.SetOrRemoveAnnotation
Paramètres
- name
- String
Nom de l’annotation à ajouter.
- value
- Object
Valeur à stocker dans l’annotation.
Implémente
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