TransferEncoding 列挙体とは? わかりやすく解説

TransferEncoding 列挙体

メモ : この列挙体は、.NET Framework version 2.0新しく追加されたものです。

電子メール メッセージ添付データContent-Transfer-Encoding ヘッダー情報指定します

名前空間: System.Net.Mime
アセンブリ: System (system.dll 内)
構文構文

Dim instance As TransferEncoding
public enum TransferEncoding
public enum class TransferEncoding
public enum TransferEncoding
public enum TransferEncoding
メンバメンバ
解説解説
使用例使用例

添付データ使用される TransferEncoding表示するコード例次に示します

public static void DisplayStreamAttachment(Attachment
 a)
{
    Stream s = a.ContentStream;
    StreamReader reader = new StreamReader(s);
    Console.WriteLine("Content: {0}", reader.ReadToEnd());
    Console.WriteLine("Content Type {0}", a.ContentType.ToString());
    Console.WriteLine("Transfer Encoding {0}", a.TransferEncoding);
    // Note that you cannot close the reader before the e-mail is sent.
 
    // Closing the reader before sending the e-mail will close the 
    // ContentStream and cause an SmtpException.
    reader = null;
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
System.Net.Mime 名前空間



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

辞書ショートカット

すべての辞書の索引

「TransferEncoding 列挙体」の関連用語

TransferEncoding 列挙体のお隣キーワード
検索ランキング

   

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



TransferEncoding 列挙体のページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS