HtmlNodeExtensions.ContainingText Method

IronWebScraper

HtmlNodeExtensionsContainingText Method

Returns all HtmlNodes in the collection that contain the search text.

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

Parameters

nodes
Type: System.Collections.GenericIEnumerableHtmlNode
The nodes.
search
Type: SystemString
The search string.

Return Value

Type: IEnumerableHtmlNode

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