DispositionTypeNames.Inline フィールド
アセンブリ: System (system.dll 内)


public static void CreateMessageInlineAttachment3(string server, string textMessage) { // Create a message and set up the recipients. MailMessage message = new MailMessage( "jane@contoso.com", "ben@contoso.com", "An inline text message for you.", "Message: "); // Attach the message string to this e-mail message. Attachment data = new Attachment(textMessage, MediaTypeNames.Text.Plain); // Send textMessage as part of the e-mail body. message.Attachments.Add(data); ContentDisposition disposition = data.ContentDisposition; disposition.DispositionType = DispositionTypeNames.Inline; //Send the message. // Include credentials if the server requires them. SmtpClient client = new SmtpClient(server); client.Credentials = (ICredentialsByHost)CredentialCache.DefaultNetworkCredentials; client.Send(message); data.Dispose(); }

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からDispositionTypeNames.Inline フィールドを検索する場合は、下記のリンクをクリックしてください。

- DispositionTypeNames.Inline フィールドのページへのリンク