Creates an XmlText instance in this context.
[Visual Basic] Public Function CreateText( _ ByVal text As String _ ) As XmlText [C#] public XmlText CreateText( string text ); [C++] public: XmlText* CreateText( String* text ); [JScript] public function CreateText( text : String ) : XmlText;
An XmlText instance with the given text.
Exception Type | Condition |
---|---|
ArgumentException | If text is null. |
XmlContext Class | XmlContext Members | System.Xml Namespace