/// <summary>
        /// <para>Adds an <see cref="XmlIncludeTypeData"/> into the collection.</para>
        /// </summary>
        /// <param name="xmlIncludeType">
        /// <para>The <see cref="XmlIncludeTypeData"/> to add. The value can not be a <see langword="null"/> reference (Nothing in Visual Basic).</para>
        /// </param>
        /// <remarks>
        /// <para>If a reference already exists in the collection by <seealso cref="XmlIncludeTypeData.Name"/>, it will be replaced with the new reference.</para>
        /// </remarks>
        /// <exception cref="ArgumentNullException">
        /// <para><paramref name="xmlIncludeType"/> is a <see langword="null"/> reference (Nothing in Visual Basic).</para>
        /// <para>- or -</para>
        /// <para><seealso cref="XmlIncludeTypeData.Name"/> is a <see langword="null"/> reference (Nothing in Visual Basic).</para>
        /// </exception>
        public void Add(XmlIncludeTypeData xmlIncludeType)
        {
            ArgumentValidation.CheckForNullReference(xmlIncludeType, "xmlIncludeType");
            ArgumentValidation.CheckForInvalidNullNameReference(xmlIncludeType.Name, "xmlIncludeType");

            BaseAdd(xmlIncludeType.Name, xmlIncludeType);
        }
        /// <summary>
        /// <para>Adds an <see cref="XmlIncludeTypeData"/> into the collection.</para>
        /// </summary>
        /// <param name="xmlIncludeType">
        /// <para>The <see cref="XmlIncludeTypeData"/> to add. The value can not be a <see langword="null"/> reference (Nothing in Visual Basic).</para>
        /// </param>
        /// <remarks>
        /// <para>If a reference already exists in the collection by <seealso cref="XmlIncludeTypeData.Name"/>, it will be replaced with the new reference.</para>
        /// </remarks>
        /// <exception cref="ArgumentNullException">
        /// <para><paramref name="xmlIncludeType"/> is a <see langword="null"/> reference (Nothing in Visual Basic).</para>
        /// <para>- or -</para>
        /// <para><seealso cref="XmlIncludeTypeData.Name"/> is a <see langword="null"/> reference (Nothing in Visual Basic).</para>
        /// </exception>
        public void Add(XmlIncludeTypeData xmlIncludeType)
        {
            ArgumentValidation.CheckForNullReference(xmlIncludeType, "xmlIncludeType");
            ArgumentValidation.CheckForInvalidNullNameReference(xmlIncludeType.Name, "xmlIncludeType");

            BaseAdd(xmlIncludeType.Name, xmlIncludeType);
        }
 /// <summary>
 /// <para>Copies the entire <see cref="XmlIncludeTypeDataCollection"/> to a compatible one-dimensional Array, starting at the specified index of the target array.</para>
 /// </summary>
 /// <param name="array">
 /// <para>The one-dimensional <see cref="XmlIncludeTypeData"/> array that is the destination of the elements copied from <see cref="XmlIncludeTypeDataCollection"/>. The <see cref="XmlIncludeTypeData"/> array must have zero-based indexing.</para>
 /// </param>
 /// <param name="index">
 /// <para>The zero-based index in array at which copying begins.</para>
 /// </param>
 public void CopyTo(XmlIncludeTypeData[] array, int index)
 {
     for (IEnumerator e = this.GetEnumerator(); e.MoveNext(); )
     {
         array.SetValue(e.Current, index++);
     }
 }