IsClosedElement Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Determines if an element node is closed.

Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public static bool IsClosedElement(
	string name
)
Visual Basic
Public Shared Function IsClosedElement ( _
	name As String _
) As Boolean
Visual C++
public:
static bool IsClosedElement(
	String^ name
)

Parameters

name
Type: System..::..String
The name of the element node to check. May not be null.

Return Value

true if the name is the name of a closed element node, false otherwise.

See Also