Export (0) Print
Expand All
Expand Minimize

Document.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 (in microsoft.office.tools.word.dll)

public virtual void ReplyWithChanges (
	[OptionalAttribute] ref Object ShowMessage
)

Parameters

ShowMessage

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

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 Understanding Optional Parameters in COM Interop.

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.

private void DocumentReplyWithChanges()
{
    object showMessage = false;
    this.ReplyWithChanges(ref showMessage);
}

Show:
© 2014 Microsoft