VerifyXmlChars() public static method

public static VerifyXmlChars ( string content ) : string
content string
return string
Example #1
0
 static bool IsValidXmlString(string text)
 {
     try
     {
         XmlConvert.VerifyXmlChars(text);
         return(true);
     }
     catch
     {
         return(false);
     }
 }