5 writes to contentType
System (5)
net\System\Net\mail\MimeBasePart.cs (3)
180contentType = new ContentType(); 193contentType = new ContentType(); 201contentType = value;
net\System\Net\mail\MimePart.cs (2)
111contentType = new ContentType(mimeType); 124this.contentType = contentType;
7 references to contentType
System (7)
net\System\Net\mail\MimeBasePart.cs (7)
179if (contentType == null){ 182contentType.PersistIfNeeded(headers,false); 192if (contentType == null){ 195return contentType; 202contentType.PersistIfNeeded((HeaderCollection)Headers,true); 207contentType.PersistIfNeeded((HeaderCollection)Headers, false); 208headers.InternalSet(MailHeaderInfo.GetString(MailHeaderID.ContentType), contentType.Encode(allowUnicode));