20 references to Headers
System.Net.Mail (20)
System\Net\Mime\MimeBasePart.cs (9)
119
get { return
Headers
[MailHeaderInfo.GetString(MailHeaderID.ContentID)!]; }
124
Headers
.Remove(MailHeaderInfo.GetString(MailHeaderID.ContentID));
128
Headers
[MailHeaderInfo.GetString(MailHeaderID.ContentID)] = value;
135
get { return
Headers
[MailHeaderInfo.GetString(MailHeaderID.ContentLocation)!]; }
140
Headers
.Remove(MailHeaderInfo.GetString(MailHeaderID.ContentLocation));
144
Headers
[MailHeaderInfo.GetString(MailHeaderID.ContentLocation)] = value;
173
_contentType.PersistIfNeeded((HeaderCollection)
Headers
, true);
179
_contentType!.PersistIfNeeded((HeaderCollection)
Headers
, false);
184
_contentDisposition.PersistIfNeeded((HeaderCollection)
Headers
, false);
System\Net\Mime\MimeMultiPart.cs (2)
192
writer.WriteHeaders(
Headers
, allowUnicode);
223
writer.WriteHeaders(
Headers
, allowUnicode);
System\Net\Mime\MimePart.cs (9)
43
((HeaderCollection)
Headers
).InternalRemove(MailHeaderInfo.GetString(MailHeaderID.ContentDisposition)!);
47
_contentDisposition!.PersistIfNeeded((HeaderCollection)
Headers
, true);
56
string value =
Headers
[MailHeaderInfo.GetString(MailHeaderID.ContentTransferEncoding)!]!;
83
Headers
[MailHeaderInfo.GetString(MailHeaderID.ContentTransferEncoding)] = "base64";
87
Headers
[MailHeaderInfo.GetString(MailHeaderID.ContentTransferEncoding)] = "quoted-printable";
91
Headers
[MailHeaderInfo.GetString(MailHeaderID.ContentTransferEncoding)] = "7bit";
95
Headers
[MailHeaderInfo.GetString(MailHeaderID.ContentTransferEncoding)] = "8bit";
309
writer.WriteHeaders(
Headers
, allowUnicode);
330
writer.WriteHeaders(
Headers
, allowUnicode);