VerifyXmlChars() public static method

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