XmlText Constructor (String, XmlDocument)


This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the XmlText class.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

protected internal XmlText(
	string strData,
	XmlDocument doc


Type: System.String

The content of the node; see the Value property.

Type: System.Xml.XmlDocument

The parent XML document.

Do not instantiate an XmlText directly; instead, use methods such as CreateTextNode.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top