Checks if a certain tag corresponds with the roottag.

Namespace: iTextSharp.text.xml
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
protected bool IsDocumentRoot(
	string tag
)
Visual Basic
Protected Function IsDocumentRoot ( _
	tag As String _
) As Boolean
Visual C++
protected:
bool IsDocumentRoot(
	String^ tag
)

Parameters

tag
Type: System..::..String
a presumed tagname

Return Value

true if tag equals itext, false otherwise.

See Also