20 references to part
System (20)
net\System\Net\mail\HeaderCollection.cs (20)
33if (id == MailHeaderID.ContentType && part != null) { 34part.ContentType = null; 35} else if (id == MailHeaderID.ContentDisposition && part is MimePart) { 36((MimePart)part).ContentDisposition = null; 53if (id == MailHeaderID.ContentType && part != null) { 54part.ContentType.PersistIfNeeded(this,false); 55} else if (id == MailHeaderID.ContentDisposition && part is MimePart) { 56((MimePart)part).ContentDisposition.PersistIfNeeded(this, false); 73if (id == MailHeaderID.ContentType && part != null) { 74part.ContentType.PersistIfNeeded(this,false); 75} else if (id == MailHeaderID.ContentDisposition && part is MimePart) { 76((MimePart)part).ContentDisposition.PersistIfNeeded(this, false); 126if (id == MailHeaderID.ContentType && part != null) { 127part.ContentType.Set(value.ToLower(CultureInfo.InvariantCulture), this); 128} else if (id == MailHeaderID.ContentDisposition && part is MimePart) { 129((MimePart)part).ContentDisposition.Set(value.ToLower(CultureInfo.InvariantCulture), this); 159if(id == MailHeaderID.ContentType && part != null) { 160part.ContentType.Set(value.ToLower(CultureInfo.InvariantCulture), this); 161} else if (id == MailHeaderID.ContentDisposition && part is MimePart) { 162((MimePart)part).ContentDisposition.Set(value.ToLower(CultureInfo.InvariantCulture), this);