![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
![]() ![]() |
A Sandcastle Documented Class Library |
HtmlNodeCollection..::..Elements Method (String) |
HtmlNodeCollection Class See Also Send Feedback |
Gets all first generation elements matching name
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public IEnumerable<HtmlNode> Elements( string name ) |
Visual Basic |
---|
Public Function Elements ( _ name As String _ ) As IEnumerable(Of HtmlNode) |
Visual C++ |
---|
public: IEnumerable<HtmlNode^>^ Elements( String^ name ) |
Parameters
- name
- Type: System..::..String
[Missing <param name="name"/> documentation for "M:HtmlAgilityPack.HtmlNodeCollection.Elements(System.String)"]