XmlReader.IsName Method
Silverlight
Gets a value indicating whether the string argument is a valid XML name.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Parameters
- str
- Type: System.String
The name to validate.
| Exception | Condition |
|---|---|
| NullReferenceException | The str value is null. |
This method uses the W3C XML 1.0 Recommendation to determine whether the name is valid.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.