Upravit

Sdílet prostřednictvím


Comments.Add(Range, Object) Method

Definition

Returns a Comment object that represents a comment added to a range.

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

Parameters

Range
Range

Required Range object. The range to have a comment added to it.

Text
Object

Optional Object. The text of the comment.

Returns

Applies to