RuntimeAnnotatableBase.SetAnnotation(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 la clé donnée. Remplace l’annotation existante si une annotation portant le nom spécifié existe déjà.
public virtual void SetAnnotation(string name, object? value);
abstract member SetAnnotation : string * obj -> unit
override this.SetAnnotation : string * obj -> unit
Public Overridable Sub SetAnnotation (name As String, value As Object)
Paramètres
- name
- String
Clé de l’annotation à ajouter.
- value
- Object
Valeur à stocker dans l’annotation.