Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets an MsoEnvelope that represents an e-mail header for a document.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Syntax
'Declaration
Public ReadOnly Property MailEnvelope As MsoEnvelope
public MsoEnvelope MailEnvelope { get; }
Property Value
Type: Microsoft.Office.Core.MsoEnvelope
An MsoEnvelope that represents an e-mail header for a document.
Examples
The following code example adds text to the e-mail header of a document and then displays the e-mail header. To use this example, run it from the ThisDocument class in a document-level project.
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;
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.