Condividi tramite


DocumentBase.ReplyWithChanges Method

Sends an e-mail message to the author of a document that has been sent out for review, notifying him or her that a reviewer has completed review of the document.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntax

'Declaration
Public Sub ReplyWithChanges ( _
    ByRef showMessage As Object _
)
public void ReplyWithChanges(
    ref Object showMessage
)

Parameters

  • showMessage
    Type: System.Object%

    true to display the message prior to sending. false to automatically send the message without displaying it first. The default value is true.

Remarks

Use the SendForReview method to start a collaborative review of a document. If the ReplyWithChanges method is executed on a document that is not part of a collaborative review cycle, an exception is thrown.

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

Examples

The following code example uses the ReplyWithChanges method to notify the author that the document has been reviewed, without displaying the message to the sender first. This example assumes that the current document is part of a collaborative review cycle. To use this example, run it from the ThisDocument class in a document-level project.

Private Sub DocumentReplyWithChanges()
    Me.ReplyWithChanges(False)
End Sub
private void DocumentReplyWithChanges()
{
    object showMessage = false;
    this.ReplyWithChanges(ref showMessage);
}

.NET Framework Security

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace