Share via


Comments.Add(Range, Object) Méthode

Définition

Renvoie un Comment objet qui représente un commentaire ajouté à une plage.

public Microsoft.Office.Interop.Word.Comment Add (Microsoft.Office.Interop.Word.Range Range, ref object Text);
abstract member Add : Microsoft.Office.Interop.Word.Range * obj -> Microsoft.Office.Interop.Word.Comment
Public Function Add (Range As Range, Optional ByRef Text As Object) As Comment

Paramètres

Range
Range

Objet Range requis. Plage à laquelle doit être ajoutée un commentaire.

Text
Object

Objet facultatif. Texte du commentaire.

Retours

S’applique à