HtmlNodeExtensions.CSS Method

IronWebScraper

HtmlNodeExtensionsCSS Method

Searched multiple HtmlNodes for the given CSS Selector, and returns all distinct matches.

Namespace:  IronWebScraper
Assembly:  IronWebScraper (in IronWebScraper.dll) Version: 4.0.4.25470 (4.0.4.3)
Syntax
public static HtmlNode[] CSS(
	this IEnumerable<HtmlNode> nodes,
	string selector
)
<ExtensionAttribute>
Public Shared Function CSS ( 
	nodes As IEnumerable(Of HtmlNode),
	selector As String
) As HtmlNode()

Parameters

nodes
Type: System.Collections.GenericIEnumerableHtmlNode
HtmlNodes to search
selector
Type: SystemString
A CSS query selector

Return Value

Type: HtmlNode

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableHtmlNode. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also