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