Document.RoutingSlip Property (2007 System)

Gets a RoutingSlip that represents the routing slip information for the document.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property RoutingSlip As RoutingSlip
'Usage
Dim instance As Document 
Dim value As RoutingSlip 

value = instance.RoutingSlip
[BrowsableAttribute(false)]
public RoutingSlip RoutingSlip { get; }
[BrowsableAttribute(false)]
public:
property RoutingSlip^ RoutingSlip {
    RoutingSlip^ get ();
}
public function get RoutingSlip () : RoutingSlip

Property Value

Type: RoutingSlip
A RoutingSlip that represents the routing slip information for the document.

Remarks

A routing slip is used to send a document through an electronic mail system.

Examples

The following code example creates a routing slip for the document and fills in the subject and recipient. The code then routes the document to the recipient.

This example is for a document-level customization.

Private Sub DocumentRoute()
    Me.HasRoutingSlip = True 
    Me.RoutingSlip.Subject = "Your feedback is needed." 
    Me.RoutingSlip.AddRecipient("someone@example.com")
    Me.Route()
End Sub
private void DocumentRoute()
{
    this.HasRoutingSlip = true;
    this.RoutingSlip.Subject = "Your feedback is needed.";
    this.RoutingSlip.AddRecipient("someone@example.com");
    this.Route();
}

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace