XmlText(String, XmlDocument) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the XmlText class.
protected public:
XmlText(System::String ^ strData, System::Xml::XmlDocument ^ doc);
protected internal XmlText (string strData, System.Xml.XmlDocument doc);
protected internal XmlText (string? strData, System.Xml.XmlDocument doc);
new System.Xml.XmlText : string * System.Xml.XmlDocument -> System.Xml.XmlText
Protected Friend Sub New (strData As String, doc As XmlDocument)
Parameters
- doc
- XmlDocument
The parent XML document.
Remarks
Do not instantiate an XmlText directly; instead, use methods such as CreateTextNode.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.