次の方法で共有


DocumentBase.ReplyWithChanges(Object) Method

Definition

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.

public void ReplyWithChanges (ref object showMessage);
member this.ReplyWithChanges : obj -> unit
Public Sub ReplyWithChanges (Optional ByRef showMessage As Object)

Parameters

showMessage
Object

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

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 void DocumentReplyWithChanges()
{
    object showMessage = false;
    this.ReplyWithChanges(ref showMessage);
}
Private Sub DocumentReplyWithChanges()
    Me.ReplyWithChanges(False)
End Sub

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.

Applies to