Freigeben über


Document.SendForReview Method

Sends the document in an e-mail message for review by the specified recipients.

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

Syntax

'Declaration
Sub SendForReview ( _
    ByRef Recipients As Object, _
    ByRef Subject As Object, _
    ByRef ShowMessage As Object, _
    ByRef IncludeAttachment As Object _
)
void SendForReview(
    ref Object Recipients,
    ref Object Subject,
    ref Object ShowMessage,
    ref Object IncludeAttachment
)

Parameters

  • Recipients
    Type: System.Object%

    The people to whom to send the message. These can be unresolved names and aliases in an e-mail phone book or full e-mail addresses. Separate multiple recipients with a semicolon (;). If left blank and ShowMessage is false, an exception is thrown and the message is not sent.

  • Subject
    Type: System.Object%

    The subject of the message. If left blank, the subject will be: Please review "filename".

  • ShowMessage
    Type: System.Object%

    true to display the message before sending; otherwise, false. The default is true. If set to false, the message is automatically sent to the recipients without first showing the message to the sender.

  • IncludeAttachment
    Type: System.Object%

    true to include the document as an attachment; false to send a link to the document at a server location. If set to false, the document must be stored at a shared location.

Remarks

This method starts a collaborative review cycle. Use the EndReview method to end a review cycle.

Optional Parameters

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

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace