2015-09-28 49 views

回答

1

你应该使用类似以下内容:

Dim elementCollection As HtmlElementCollection = WebBrowser1.Document.All 
    For Each html As HtmlElement In elementCollection 
     'Do your coding here 
    Next 
+0

我编辑的问题。我正在使用Agility Pack。我猜你的代码与它无关。谢谢您的回答。 – onurcano22

相关问题