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 (
         stringstr
)

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, and 4.1.

See Also

Reference

XmlReader Class
XmlReader Members
System.Xml Namespace