public override bool MoveToFirstAttribute()
        {
            IHTMLAttributeCollection collection = (IHTMLAttributeCollection)CurrentNode.attributes;

            if (collection == null)
            {
                return(false);
            }

            attrs = new AttributeNodes(CurrentNode);
            if (!attrs.MoveNext())
            {
                attrs = null;
                return(false);
            }
            return(true);
        }
 public override bool MoveToNextAttribute()
 {
     return(attrs.MoveNext());
 }