c# - HtmlAgilityPack 文档

标签 c# html-agility-pack

我是 C# 的新手(今天开始),我正在尝试理解其他人的代码,这些代码使用 HtmlAgilliyPack 中的 HtmlDocument 类来解析 HTML 文档。我找不到这个包的任何文档。 HtmlAgilityPack's project webpage说没有可用的文档。 如果有人可以指出我的文档或解释以下方法(也包括中间方法),那将非常有帮助:

 - HtmlDocument.DocumentNode
 - HtmlDocument.DocumentNode.ssn
 - HtmlDocument.DocumentNode.GetElementbyId
 - HtmlDocument.DocumentNode.GetElementbyId(..).sns
 - HtmlDocument.DocumentNode.ssn(...).Attributes["value"].Value.ed().ns()

提前致谢!

最佳答案

您可以下载HtmlAgilityPack记录来自 here 的 CHM 文件.

如果 chm 文件内容不可见,则取消选中 Always ask before opening this file 复选框,如屏幕截图所示

enter image description here

注意:未签名的文件会出现上面的对话框

enter image description here

更新:

HtmlAgilityPack 文档可用 here

关于c# - HtmlAgilityPack 文档,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32110833/

相关文章:

c# - Visual Studio 调试器挂起,无法从 w3wp 分离

c# - 使用 HTML Agility Pack 删除重复元素链

html - 如何使用HTML Agility Pack查找以特定值开头的属性?

c# - 使用 HtmlAgilityPack 获取 iframe 源

c# - 如何使用 HTML Agility Pack 获取 <td> 标签内的所有内容?

c# - 为什么 Resources.Load <Sprite> 返回 null?

C# 锯齿状数组到列表列表

c# - Windows 2003 上托管 C++ dll 的 FileLoadException

c# - 使用MinHash查找2张图像之间的相似性

c# - 检查标签的类型