Class Selector (".class")

Selects all elements with the given class.

   public IEnumerable<HtmlNode> SelectHtmlNodesByClass()
   { 
      var htmlDocument = new HtmlWeb().Load("http://www.example.com");
      return htmlDocument.Select(".class");     
   }

Last edited Dec 25, 2011 at 8:33 AM by sweettam, version 1

Comments

No comments yet.