Initializes a new instance of the XmlElement class.

XmlElement(String)

public XmlElement(string name);
Public Sub New(ByVal name As String)

XmlElement(String, String)

public XmlElement(string name, string text);
Public Sub New(ByVal name As String, ByVal text As String)

Parameters

Parameter Description
name Specifies the element's name.
text Specifies the element's text.