Sisk

Constructor

XmlNode constructor

Namespace
TinyComponents
Assembly
TinyComponents.dll

XmlNode(string) #

Initializes a new instance of the XmlNode class with the specified tag name.

C#
public XmlNode(string tagName)

Parameters #

tagName string

The name of the tag to be used for the XML element. The tag name will be converted to lowercase.

XmlNode(string, object?) #

Initializes a new instance of the XmlNode class with the specified tag name and content.

C#
public XmlNode(string tagName, object? content)

Parameters #

tagName string

The name of the tag to be used for the XML element. The tag name will be converted to lowercase.

content object?

Optional parameter that defines content for the creating XML tag.

XmlNode(string, string) #

Initializes a new instance of the XmlNode class with the specified tag name and content.

C#
public XmlNode(string tagName, string content)

Parameters #

tagName string

The name of the tag to be used for the XML element. The tag name will be converted to lowercase.

content string

Optional parameter that defines content for the creating XML tag.

XmlNode(string, Action<XmlNode>) #

Initializes a new instance of the XmlNode class with the specified tag name.

C#
public XmlNode(string tagName, Action<XmlNode> content)

Parameters #

tagName string

The name of the tag to be used for the XML element. The tag name will be converted to lowercase.

content Action<XmlNode>

Optional parameter that defines content for the creating XML tag.

Type to search the documentation and the API reference.