HtmlNodeExtensionsGetNextSibling Method
Gets the HTML node with the specified name immediately following this element.
Namespace: DevCase.ThirdParty.HtmlAgilityPack.Extensions.HtmlNodeExtensionsAssembly: DevCase.net48.ThirdParty.HtmlAgilityPack (in DevCase.net48.ThirdParty.HtmlAgilityPack.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static HtmlNode GetNextSibling(
this HtmlNode sender,
string name
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function GetNextSibling (
sender As HtmlNode,
name As String
) As HtmlNode
Dim sender As HtmlNode
Dim name As String
Dim returnValue As HtmlNode
returnValue = sender.GetNextSibling(name)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static HtmlNode^ GetNextSibling(
HtmlNode^ sender,
String^ name
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member GetNextSibling :
sender : HtmlNode *
name : string -> HtmlNode
No code example is currently available or this language may not be supported.
- sender HtmlNode
-
The source HtmlNode.
- name String
-
The sibling name.
HtmlNode
The resulting
HtmlNode.
In Visual Basic and C#, you can call this method as an instance method on any object of type
HtmlNode. 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).
Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:
HtmlAgilityPack