Localization.SetComments(Object, String) 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 la CommentsProperty propriété jointe sur l’élément spécifié.
public:
static void SetComments(System::Object ^ element, System::String ^ comments);
public static void SetComments(object element, string comments);
static member SetComments : obj * string -> unit
Public Shared Sub SetComments (element As Object, comments As String)
Paramètres
Exemples
L’exemple de code suivant montre comment définir les commentaires de localisation d’un bloc de texte.
Remarques
Les commentaires de localisation sont du texte de forme libre inclus par le développeur d’applications. Pour plus d’informations sur la définition des commentaires de localisation, consultez Attributs de localisation et Commentaires.