DocumentBase.MailEnvelope Özellik
Alır bir MsoEnvelope temsil eden bir belge için bir e-posta üstbilgisi.
Ad alanı: Microsoft.Office.Tools.Word
Derleme: Microsoft.Office.Tools.Word.v4.0.Utilities (Microsoft.Office.Tools.Word.v4.0.Utilities.dll içinde)
Sözdizimi
'Bildirim
Public ReadOnly Property MailEnvelope As MsoEnvelope
public MsoEnvelope MailEnvelope { get; }
Özellik Değeri
Tür: Microsoft.Office.Core.MsoEnvelope
Bir MsoEnvelope temsil eden bir belge için bir e-posta üstbilgisi.
Örnekler
Aşağıdaki kod örneği, bir belgenin e-posta üstbilgisi metni ekler ve e-posta üstbilgisi görüntüler.Bu örneği kullanmak için çalıştırın ThisDocument bir belge düzeyi projesinde sınıf.
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 Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.