電子メール メッセージの本文の紹介文を取得または設定します。
名前空間: Microsoft.Office.Interop.InfoPath
アセンブリ: Microsoft.Office.Interop.InfoPath (microsoft.office.interop.infopath.dll 内)
構文
'宣言
<DispIdAttribute(7)> _
Property Intro As String
'使用
Dim instance As MailEnvelope2
Dim value As String
value = instance.Intro
instance.Intro = value
[DispIdAttribute(7)]
string Intro { get; set; }
プロパティ値
電子メール メッセージの本文の紹介文。
例
次の例では、MailEnvelope2 オブジェクトへの参照を設定し、封筒のプロパティを設定して、電子メールの封筒を表示します。
MailEnvelope2 myEnv =
(MailEnvelope2)thisApplication.ActiveWindow.MailEnvelope;
myEnv.To = "someone@example.com";
myEnv.CC = "someone@example.com";
myEnv.BCC = "someone@example.com";
myEnv.Subject = "Test e-mail message";
myEnv.Intro = "This is the InfoPath form you requested.";
// Display form with e-mail envelope.
myEnv.Visible = true;
関連項目
参照
MailEnvelope2 インターフェイス
MailEnvelope2 のメンバ
Microsoft.Office.Interop.InfoPath 名前空間