VerifyXmlChars()
XmlConvert::VerifyXmlChars(const String&) method
Returns the passed-in string if all the characters and surrogate pair characters in the string argument are valid XML characters, otherwise an XmlException is thrown with information on the first invalid character encountered.
static String System::Xml::XmlConvert::VerifyXmlChars(const String &content)
Arguments
Parameter | Type | Description |
---|---|---|
content | const String& | String that contains characters to verify. |
Return Value
The passed-in string if all the characters and surrogate-pair characters in the string argument are valid XML characters, otherwise an XmlException is thrown with information on the first invalid character encountered.
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.Slides