MailMessage.Fields プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > MailMessage.Fields プロパティの意味・解説 

MailMessage.Fields プロパティ

Microsoft CDO (Collaboration Data Objects) のフィールド対応付けるオブジェクトコレクション取得します推奨する代替 : System.Net.Mail

名前空間: System.Web.Mail
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim instance As MailMessage
Dim value As IDictionary

value = instance.Fields
public IDictionary Fields { get; }
public:
property IDictionary^ Fields {
    IDictionary^ get ();
}
/** @property */
public IDictionary get_Fields ()

プロパティ
CDO (Collaboration Data Objects) のフィールド対応付けるオブジェクトの IDictionary コレクション

解説解説
使用例使用例

Fields プロパティ使用してユーザー名パスワード認証のために SMTP (Simple Mail Transfer Protocol) サーバー送信する方法次のコード例示します

' Use the Fields property to add authentication, your username, and
 your password.
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
 "1")
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
 "marsha")
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
 "secret")
// Use the Fields property to add authentication, your username, and
 your password.
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
 "1");    
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
 "marsha"); 
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
 "secret");
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
MailMessage クラス
MailMessage メンバ
System.Web.Mail 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「MailMessage.Fields プロパティ」の関連用語

MailMessage.Fields プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



MailMessage.Fields プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS