DocumentBase.MailEnvelope 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个表示文档的电子邮件头的 MsoEnvelope。
public Microsoft.Office.Core.MsoEnvelope MailEnvelope { get; }
属性值
一个表示文档的电子邮件头的 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