Verifies that the string is a valid token according to the W3C XML Schema Part2: Datatypes recommendation.
The token, if it is a valid token.
This method ensures that the name token follows the proper syntax for a valid token. It can be used in the following manner:
Example
try { writer.WriteStartElement(XmlConvert.VerifyTOKEN("abc"),"book"); } catch(Exception e) { Console.WriteLine("error"); }
For more information on tokens, see tp://go.microsoft.com/fwlink/?LinkId=103183.