﻿<?xml version="1.0" encoding="utf-8"?><Type Name="MimePartCollection" FullName="System.Web.Services.Description.MimePartCollection"><TypeSignature Language="C#" Maintainer="auto" Value="public sealed class MimePartCollection : System.Collections.CollectionBase" /><AssemblyInfo><AssemblyName>System.Web.Services</AssemblyName><AssemblyPublicKey></AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Collections.CollectionBase</BaseTypeName></Base><Interfaces></Interfaces><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Each <see cref="T:System.Web.Services.Description.MimePart" /> within the collection represents an extensibility element added to a <see cref="T:System.Web.Services.Description.MimeMultipartRelatedBinding" />, and specifies the MIME type for a corresponding <see cref="T:System.Web.Services.Description.MessagePart" />.</para><para>For more information about specifying protocols for XML Web services, see <format type="text/html"><a href="01DFC27C-C68E-4910-A0AA-5E4C2A766B0C">[&lt;topic://cpconbuildingaspnetwebservices&gt;]</a></format>. For more information about Web Services Description Language (WSDL), see the specification at http://www.w3.org/TR/wsdl/.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a collection of instances of the <see cref="T:System.Web.Services.Description.MimePart" /> class. This class cannot be inherited.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public MimePartCollection ();" /><MemberType>Constructor</MemberType><ReturnValue /><Parameters /><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Web.Services.Description.MimePartCollection" /> class. </para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Add"><MemberSignature Language="C#" Value="public int Add (System.Web.Services.Description.MimePart mimePart);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="mimePart" Type="System.Web.Services.Description.MimePart" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds the specified <see cref="T:System.Web.Services.Description.MimePart" /> to the end of the <see cref="T:System.Web.Services.Description.MimePartCollection" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The zero-based index where the <paramref name="mimePart" /> parameter has been added.</para></returns><param name="mimePart"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.Services.Description.MimePart" /> to add to the collection. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Contains"><MemberSignature Language="C#" Value="public bool Contains (System.Web.Services.Description.MimePart mimePart);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="mimePart" Type="System.Web.Services.Description.MimePart" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a value indicating whether the specified <see cref="T:System.Web.Services.Description.MimePart" /> is a member of the <see cref="T:System.Web.Services.Description.MimePartCollection" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the <paramref name="mimePart" /> parameter is a member of the MimePartCollection; otherwise, false.</para></returns><param name="mimePart"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.Services.Description.MimePart" /> to check for collection membership. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CopyTo"><MemberSignature Language="C#" Value="public void CopyTo (System.Web.Services.Description.MimePart[] array, int index);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="array" Type="System.Web.Services.Description.MimePart[]" /><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Copies the entire <see cref="T:System.Web.Services.Description.MimePartCollection" /> to a compatible one-dimensional array of type <see cref="T:System.Web.Services.Description.MimePart" />, starting at the specified zero-based index of the target array.</para></summary><param name="array"><attribution license="cc4" from="Microsoft" modified="false" />An array of type <see cref="T:System.Web.Services.Description.MimePart" /> serving as the destination for the copy action. </param><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index at which to start placing the copied collection. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="IndexOf"><MemberSignature Language="C#" Value="public int IndexOf (System.Web.Services.Description.MimePart mimePart);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="mimePart" Type="System.Web.Services.Description.MimePart" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Searches for the specified <see cref="T:System.Web.Services.Description.MimePart" /> and returns the zero-based index of the first occurrence within the collection.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A 32-bit signed integer.</para></returns><param name="mimePart"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.Services.Description.MimePart" /> for which to search the <see cref="T:System.Web.Services.Description.MimePartCollection" />. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Insert"><MemberSignature Language="C#" Value="public void Insert (int index, System.Web.Services.Description.MimePart mimePart);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /><Parameter Name="mimePart" Type="System.Web.Services.Description.MimePart" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If the number of items in the collection already equals the collection's capacity, the capacity is doubled by automatically reallocating the internal array before the new element is inserted.</para><para>If the <paramref name="index" /> parameter is equal to <see cref="P:System.Collections.CollectionBase.Count" />, the <paramref name="mimePart" /> parameter is added to the end of the <see cref="T:System.Web.Services.Description.MimePartCollection" />.</para><para>The elements after the insertion point move down to accommodate the new element.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds the specified <see cref="T:System.Web.Services.Description.MimePart" /> to the <see cref="T:System.Web.Services.Description.MimePartCollection" /> at the specified index.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based index at which to insert the <paramref name="mimePart" /> parameter. </param><param name="mimePart"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.Services.Description.MimePart" /> to add to the collection. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Item"><MemberSignature Language="C#" Value="public System.Web.Services.Description.MimePart this[int index] { set; get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Web.Services.Description.MimePart</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><param name="index">To be added: an object of type 'int'</param><summary>To be added</summary><value>To be added: an object of type 'MimePart'</value><remarks>To be added</remarks></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Remove"><MemberSignature Language="C#" Value="public void Remove (System.Web.Services.Description.MimePart mimePart);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="mimePart" Type="System.Web.Services.Description.MimePart" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method performs a linear search; therefore, the average execution time is proportional to <see cref="P:System.Collections.CollectionBase.Count" />.</para><para>The elements that follow the removed MimePart move up to occupy the vacated spot.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes the first occurrence of the specified <see cref="T:System.Web.Services.Description.MimePart" /> from the <see cref="T:System.Web.Services.Description.MimePartCollection" />.</para></summary><param name="mimePart"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.Services.Description.MimePart" /> to remove from the collection. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>