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.

All labels observed (2)

How this entity was disambiguated

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 ⓘ
inheritsFrom System.Net.Mime.AttachmentBase ⓘ
System.Object ⓘ
introducedIn .NET Framework 2.0 ⓘ
linked to: .NET Framework
lifecycle mustBeDisposedToFreeResources ⓘ
namespace System.Net.Mail ⓘ
linked to: System.Net
platform .NET 5+ ⓘ
.NET Core ⓘ
.NET Framework ⓘ
relatedTo System.Net.Mail.MailMessage ⓘ
supportsContentType System.Net.Mime.ContentType ⓘ
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 ⓘ

How these facts were elicited

Referenced by (2)

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

System.Net → containsClass → System.Net.Mail.Attachment ⓘ
System.Net.Mail.Attachment → inheritsFrom → System.Net.Mime.AttachmentBase ⓘ
linked to: System.Net.Mail.Attachment