Constructor XmlNode
- Namespace
- TinyComponents
- Assembly
- TinyComponents.dll
XmlNode(string)
Initializes a new instance of the XmlNode class with the specified tag name.
public XmlNode(string tagName)
Parameters
tagName
stringThe 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.
public XmlNode(string tagName, object? content)
Parameters
tagName
stringThe name of the tag to be used for the XML element. The tag name will be converted to lowercase.
content
objectOptional 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.
public XmlNode(string tagName, string content)
Parameters
tagName
stringThe name of the tag to be used for the XML element. The tag name will be converted to lowercase.
content
stringOptional 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.
public XmlNode(string tagName, Action<XmlNode> content)