XmlReader.IsNameToken Method
Gets a value indicating whether or not the string argument is a valid XML name token.
Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)
Syntax
public static bool IsNameToken (
stringstr
)
Parameters
- str
The name token to validate.
Return Value
true if it is a valid name token; otherwise false.
Version Information
Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, and 4.1.