HtmlDocument.Links 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會列出此 HTML 文件中所有超連結。
public:
property System::Windows::Forms::HtmlElementCollection ^ Links { System::Windows::Forms::HtmlElementCollection ^ get(); };
public System.Windows.Forms.HtmlElementCollection Links { get; }
member this.Links : System.Windows.Forms.HtmlElementCollection
Public ReadOnly Property Links As HtmlElementCollection
屬性值
一 HtmlElementCollection 組 HtmlElement 物件。
備註
此集合將包含所有使用 ALINK、 、 AREA 及 HTML 標籤所建立的連結。
HtmlElement此集合中包含的物件封裝了未受管理IHTMLLinkElement介面。 若要安全存取底層介面的屬性,請使用該 GetAttribute 方法。