HtmlDocument.Links Property
.NET Framework 4.5
Gets a list of all the hyperlinks within this HTML document.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System.Windows.Forms.HtmlElementCollectionAn HtmlElementCollection of HtmlElement objects.
This collection will contain all links created using the A, LINK, and AREA tags in HTML.
The HtmlElement objects contained within this collection encapsulate the unmanaged IHTMLLinkElement interface. To access the properties of the underlying interface safely, use the GetAttribute method.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.