Determines whether the specified string is a valid XML name.
- s
- A string specifying the name to validate.
A bool where true indicates the name is valid; otherwise, false.
Note:This method uses the W3C XML 1.0 Recommendation (http://www.w3.org/TR/2000/REC-xml-20001006#NT-Name) to determine whether the name is valid.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0