System.Net.Mail.Attachment

E697514

System.Net.Mail.Attachment is a .NET class used to represent and manage file or data attachments when composing and sending email messages via the System.Net.Mail API.

Try in SPARQL Jump to: Statements Referenced by

Statements (48)

Predicate Object
instanceOf .NET class
reference type
assembly System.dll
canUse file-based attachments
stream-based attachments
string-based attachments
configurableVia ContentDisposition.FileName
ContentDisposition.Inline
ContentType.CharSet
ContentType.MediaType
hasConstructor Attachment(System.IO.Stream contentStream, System.Net.Mime.ContentType contentType)
Attachment(System.IO.Stream contentStream, string name)
Attachment(System.IO.Stream contentStream, string name, System.Text.Encoding contentEncoding, string mediaType)
Attachment(System.IO.Stream contentStream, string name, string mediaType)
Attachment(string content, string name)
Attachment(string content, string name, System.Text.Encoding contentEncoding, string mediaType)
Attachment(string fileName)
Attachment(string fileName, System.Net.Mime.ContentType contentType)
Attachment(string fileName, string mediaType)
hasMemberType public class
hasMethod Dispose()
ToString()
hasProperty ContentDisposition
ContentId
ContentStream
ContentType
Name
NameEncoding
implements System.IDisposable NERFINISHED
inheritsFrom System.Net.Mime.AttachmentBase NERFINISHED
System.Object
introducedIn .NET Framework 2.0 NERFINISHED
lifecycle mustBeDisposedToFreeResources
namespace System.Net.Mail NERFINISHED
platform .NET 5+
.NET Core NERFINISHED
.NET Framework NERFINISHED
relatedTo System.Net.Mail.MailMessage NERFINISHED
supportsContentType System.Net.Mime.ContentType NERFINISHED
supportsMediaType MIME media type strings
supportsScenario sending email with file attachments
sending email with inline content
threadSafety instance members not guaranteed thread-safe
usedFor attaching files to MailMessage
attaching streams to MailMessage
attaching string content to MailMessage
representing email attachments
usedWith MailMessage.Attachments

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Net containsClass System.Net.Mail.Attachment