/// <include file='doc\MimeFormatExtensions.uex' path='docs/doc[@for="MimePartCollection.IndexOf"]/*' /> public int IndexOf(MimePart mimePart) { return(List.IndexOf(mimePart)); }
/// <include file='doc\MimeFormatExtensions.uex' path='docs/doc[@for="MimePartCollection.Add"]/*' /> public int Add(MimePart mimePart) { return(List.Add(mimePart)); }
/// <include file='doc\MimeFormatExtensions.uex' path='docs/doc[@for="MimePartCollection.Insert"]/*' /> public void Insert(int index, MimePart mimePart) { List.Insert(index, mimePart); }
/// <include file='doc\MimeFormatExtensions.uex' path='docs/doc[@for="MimePartCollection.Contains"]/*' /> public bool Contains(MimePart mimePart) { return(List.Contains(mimePart)); }
/// <include file='doc\MimeFormatExtensions.uex' path='docs/doc[@for="MimePartCollection.Remove"]/*' /> public void Remove(MimePart mimePart) { List.Remove(mimePart); }
public void Remove(MimePart mimePart) { base.List.Remove(mimePart); }
public int Add(MimePart mimePart) { return base.List.Add(mimePart); }
public int IndexOf(MimePart mimePart) { return base.List.IndexOf(mimePart); }
public void Insert(int index, MimePart mimePart) { base.List.Insert(index, mimePart); }
public void CopyTo(MimePart[] array, int index) { base.List.CopyTo(array, index); }
public bool Contains(MimePart mimePart) { return base.List.Contains(mimePart); }
public int Add(MimePart mimePart) { Insert(Count, mimePart); return(Count - 1); }
public int Add (MimePart mimePart) { Insert (Count, mimePart); return (Count - 1); }
private void Write103_MimePart(string n, string ns, MimePart o, bool isNullable, bool needType) { if (o == null) { if (isNullable) { base.WriteNullTagLiteral(n, ns); } } else { if (!needType && !(o.GetType() == typeof(MimePart))) { throw base.CreateUnknownTypeException(o); } base.WriteStartElement(n, ns, o, false, null); if (needType) { base.WriteXsiType("MimePart", "http://schemas.xmlsoap.org/wsdl/mime/"); } if (o.Required) { base.WriteAttribute("required", "http://schemas.xmlsoap.org/wsdl/", XmlConvert.ToString(o.Required)); } ServiceDescriptionFormatExtensionCollection extensions = o.Extensions; if (extensions != null) { for (int i = 0; i < extensions.Count; i++) { object obj2 = extensions[i]; if (obj2 is Soap12BodyBinding) { this.Write102_Soap12BodyBinding("body", "http://schemas.xmlsoap.org/wsdl/soap12/", (Soap12BodyBinding) obj2, false, false); } else if (obj2 is SoapBodyBinding) { this.Write99_SoapBodyBinding("body", "http://schemas.xmlsoap.org/wsdl/soap/", (SoapBodyBinding) obj2, false, false); } else if (obj2 is MimeContentBinding) { this.Write93_MimeContentBinding("content", "http://schemas.xmlsoap.org/wsdl/mime/", (MimeContentBinding) obj2, false, false); } else if (obj2 is MimeXmlBinding) { this.Write94_MimeXmlBinding("mimeXml", "http://schemas.xmlsoap.org/wsdl/mime/", (MimeXmlBinding) obj2, false, false); } else if (obj2 is MimeTextBinding) { this.Write97_MimeTextBinding("text", "http://microsoft.com/wsdl/mime/textMatching/", (MimeTextBinding) obj2, false, false); } else if (obj2 is XmlElement) { XmlElement element = (XmlElement) obj2; if ((element == null) && (element != null)) { throw base.CreateInvalidAnyTypeException(element); } base.WriteElementLiteral(element, "", null, false, true); } else if (obj2 != null) { throw base.CreateUnknownTypeException(obj2); } } } base.WriteEndElement(o); } }