2 writes to ContentType
System (2)
net\System\Net\mail\Attachment.cs (1)
253
part.
ContentType
= value;
net\System\Net\mail\HeaderCollection.cs (1)
34
part.
ContentType
= null;
14 references to ContentType
System (14)
net\System\Net\mail\Attachment.cs (4)
249
return part.
ContentType
;
360
MimePart.
ContentType
.Name = MimeBasePart.EncodeHeaderValue(name, encoding ,MimeBasePart.ShouldUseBase64Encoding(encoding));
363
MimePart.
ContentType
.Name = name;
376
MimePart.
ContentType
.Name = value;
net\System\Net\mail\HeaderCollection.cs (4)
54
part.
ContentType
.PersistIfNeeded(this,false);
74
part.
ContentType
.PersistIfNeeded(this,false);
127
part.
ContentType
.Set(value.ToLower(CultureInfo.InvariantCulture), this);
160
part.
ContentType
.Set(value.ToLower(CultureInfo.InvariantCulture), this);
net\System\Net\mail\MailMessage.cs (1)
345
wholeView.
ContentType
.Parameters["type"] = view.ContentType.MediaType;
net\System\Net\mail\MimeMultiPart.cs (4)
32
ContentType
.MediaType = "multipart" + "/" + type.ToString().ToLower(CultureInfo.InvariantCulture);
33
ContentType
.Boundary = GetNextBoundary();
149
context.writer = new MimeWriter(context.outputStream,
ContentType
.Boundary);
202
MimeWriter mimeWriter = new MimeWriter(outputStream,
ContentType
.Boundary);
net\System\Net\mail\MimePart.cs (1)
114
ContentType
.Name = name;