HtmlDocument::Links Property
.NET Framework (current version)
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::HtmlElementCollection^An 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.
.NET Framework
Available since 2.0
Available since 2.0
Show: