3

私の古い WinForm アプリケーションは、HtmlElementCollection を使用してページを処理しました

HtmlElementCollection hec = this.webbrowser.Document.GetElementsByTagName("input");

WPF WebBrowser には、異なる点がいくつかあります。例えば

this.webbrowser.DocumentにはGetElementsByTagNameというメソッドがありません

したがって、私のコードは HtmlElementCollection を取得できません

4

1 に答える 1