3 instantiations of Attachment
System.Net.Mail (3)
System\Net\Mail\Attachment.cs (3)
415
Attachment a = new
Attachment
();
423
Attachment a = new
Attachment
();
431
Attachment a = new
Attachment
();
14 references to Attachment
netstandard (1)
netstandard.cs (1)
1166
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Mail.
Attachment
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
651
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Mail.
Attachment
))]
System.Net.Mail (12)
System\Net\Mail\Attachment.cs (6)
413
public static
Attachment
CreateAttachmentFromString(string content, string? name)
415
Attachment
a = new Attachment();
421
public static
Attachment
CreateAttachmentFromString(string content, string? name, Encoding? contentEncoding, string? mediaType)
423
Attachment
a = new Attachment();
429
public static
Attachment
CreateAttachmentFromString(string content, ContentType contentType)
431
Attachment
a = new Attachment();
System\Net\Mail\AttachmentCollection.cs (4)
12
public sealed class AttachmentCollection : Collection<
Attachment
>, IDisposable
23
foreach (
Attachment
attachment in this)
45
protected override void SetItem(int index,
Attachment
item)
52
protected override void InsertItem(int index,
Attachment
item)
System\Net\Mail\MailMessage.cs (2)
345
foreach (
Attachment
attachment in Attachments)
403
foreach (
Attachment
attachment in Attachments)