HtmlDocument.Links Property


Gets a list of all the hyperlinks within this HTML document.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

member Links : HtmlElementCollection with get

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
Return to top