39 references to GetString
System.Net.Mail (39)
System\Net\Mail\MailPriority.cs (21)
358
string xSenderHeader = MailHeaderInfo.
GetString
(MailHeaderID.XSender)!;
365
string headerName = MailHeaderInfo.
GetString
(MailHeaderID.XReceiver)!;
387
Headers.Remove(MailHeaderInfo.
GetString
(MailHeaderID.ContentType)!);
389
Headers[MailHeaderInfo.
GetString
(MailHeaderID.MimeVersion)] = "1.0";
393
string headerName = MailHeaderInfo.
GetString
(MailHeaderID.Sender)!;
403
headerName = MailHeaderInfo.
GetString
(MailHeaderID.From)!;
406
headerName = MailHeaderInfo.
GetString
(MailHeaderID.To)!;
416
headerName = MailHeaderInfo.
GetString
(MailHeaderID.Cc)!;
426
headerName = MailHeaderInfo.
GetString
(MailHeaderID.ReplyTo)!;
440
Headers.Remove(MailHeaderInfo.
GetString
(MailHeaderID.Bcc)!);
444
Headers[MailHeaderInfo.
GetString
(MailHeaderID.XPriority)] = "1";
445
Headers[MailHeaderInfo.
GetString
(MailHeaderID.Priority)] = "urgent";
446
Headers[MailHeaderInfo.
GetString
(MailHeaderID.Importance)] = "high";
450
Headers[MailHeaderInfo.
GetString
(MailHeaderID.XPriority)] = "5";
451
Headers[MailHeaderInfo.
GetString
(MailHeaderID.Priority)] = "non-urgent";
452
Headers[MailHeaderInfo.
GetString
(MailHeaderID.Importance)] = "low";
457
Headers.Remove(MailHeaderInfo.
GetString
(MailHeaderID.XPriority)!);
458
Headers.Remove(MailHeaderInfo.
GetString
(MailHeaderID.Priority)!);
459
Headers.Remove(MailHeaderInfo.
GetString
(MailHeaderID.Importance)!);
462
Headers.InternalAdd(MailHeaderInfo.
GetString
(MailHeaderID.Date)!,
465
headerName = MailHeaderInfo.
GetString
(MailHeaderID.Subject)!;
System\Net\Mime\ContentDisposition.cs (2)
179
headers.InternalSet(MailHeaderInfo.
GetString
(MailHeaderID.ContentDisposition)!, ToString());
187
headers.InternalSet(MailHeaderInfo.
GetString
(MailHeaderID.ContentDisposition)!, ToString());
System\Net\Mime\ContentType.cs (2)
145
headers.InternalSet(MailHeaderInfo.
GetString
(MailHeaderID.ContentType)!, ToString());
153
headers.InternalSet(MailHeaderInfo.
GetString
(MailHeaderID.ContentType)!, ToString());
System\Net\Mime\MimeBasePart.cs (8)
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;
180
_headers!.InternalSet(MailHeaderInfo.
GetString
(MailHeaderID.ContentType)!, _contentType.Encode(allowUnicode));
185
_headers.InternalSet(MailHeaderInfo.
GetString
(MailHeaderID.ContentDisposition)!, _contentDisposition.Encode(allowUnicode));
System\Net\Mime\MimePart.cs (6)
43
((HeaderCollection)Headers).InternalRemove(MailHeaderInfo.
GetString
(MailHeaderID.ContentDisposition)!);
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";