HtmlElement::GetElementsByTagName Method (String^)

 

Retrieves a collection of elements represented in HTML by the specified HTML tag.

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

public:
HtmlElementCollection^ GetElementsByTagName(
	String^ tagName
)

Parameters

tagName
Type: System::String^

The name of the tag whose HtmlElement objects you wish to retrieve.

Return Value

Type: System.Windows.Forms::HtmlElementCollection^

An HtmlElementCollection containing all elements whose HTML tag name is equal to tagName.

.NET Framework
Available since 2.0
Return to top
Show: