System.Windows.Forms.HtmlElementCollection.GetElementsByName Method

Gets a collection of elements by their name.

Syntax

public HtmlElementCollection GetElementsByName (string name)

Parameters

name
The name or ID of the element.

Returns

An System.Windows.Forms.HtmlElementCollection containing the elements whose HtmlElement.Name property match name.

Remarks

While the HtmlElement.Id property of an System.Windows.Forms.HtmlElement must be unique, multiple elements can use the same HtmlElement.Name property.

Requirements

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