Document.MailEnvelope-Eigenschaft (2007 System)

Aktualisiert: November 2007

Ruft einen MsoEnvelope ab, der einen E-Mail-Header für ein Dokument darstellt.

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

Syntax

<BrowsableAttribute(False)> _
Public ReadOnly Property MailEnvelope As MsoEnvelope

Dim instance As Document
Dim value As MsoEnvelope

value = instance.MailEnvelope
[BrowsableAttribute(false)]
public MsoEnvelope MailEnvelope { get; }

Eigenschaftenwert

Typ: Microsoft.Office.Core.MsoEnvelope

Ein MsoEnvelope, der einen E-Mail-Header für ein Dokument darstellt.

Beispiele

Im folgenden Codebeispiel wird dem E-Mail-Header eines Dokuments Text hinzugefügt, und anschließend wird der E-Mail-Header angezeigt.

Dieses Beispiel bezieht sich auf eine Anpassung auf Dokumentebene.

Private Sub DocumentMailEnvelope()
    Me.MailEnvelope.Introduction = "Please review " & _
        "this document and let me know what you think."
    Me.ActiveWindow.EnvelopeVisible = True
End Sub 
private void DocumentMailEnvelope()
{
    this.MailEnvelope.Introduction = "Please review " +
    "this document and let me know what you think.";
    this.ActiveWindow.EnvelopeVisible = true;

}

Berechtigungen

Siehe auch

Referenz

Document-Klasse

Document-Member

Microsoft.Office.Tools.Word-Namespace