/// <include file='doc\HtmlElementCollection.uex' path='docs/doc[@for="HtmlElementCollection.GetEnumerator"]/*' />
        /// <internalonly/>
        public IEnumerator GetEnumerator()
        {
            HtmlElement[] htmlElements = new HtmlElement[this.Count];
            ((ICollection)this).CopyTo(htmlElements, 0);

            return(htmlElements.GetEnumerator());
        }
Пример #2
0
 /// <include file='doc\HtmlElementCollection.uex' path='docs/doc[@for="HtmlElementCollection.GetEnumerator"]/*' />
 /// <internalonly/>
 public IEnumerator GetEnumerator() {
     HtmlElement[] htmlElements = new HtmlElement[this.Count];
     ((ICollection)this).CopyTo(htmlElements, 0);
     
     return htmlElements.GetEnumerator();
 }
 public IEnumerator GetEnumerator()
 {
     HtmlElement[] array = new HtmlElement[this.Count];
     ((ICollection)this).CopyTo(array, 0);
     return(array.GetEnumerator());
 }
 public IEnumerator GetEnumerator()
 {
     HtmlElement[] array = new HtmlElement[this.Count];
     ((ICollection) this).CopyTo(array, 0);
     return array.GetEnumerator();
 }