DocumentBase.MailEnvelope 属性

定义

获取一个表示文档的电子邮件头的 MsoEnvelope

public Microsoft.Office.Core.MsoEnvelope MailEnvelope { get; }

属性值

MsoEnvelope

一个表示文档的电子邮件头的 MsoEnvelope

示例

下面的代码示例将文本添加到文档的电子邮件标题,然后显示电子邮件头。 若要使用此示例,请在 ThisDocument 文档级项目的类中运行它。

private void DocumentMailEnvelope()
{
    this.MailEnvelope.Introduction = "Please review " +
    "this document and let me know what you think.";
    this.ActiveWindow.EnvelopeVisible = true;

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

适用于