XmlConvert.IsNCNameChar Method (Char)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Checks whether the passed-in character is a valid non-colon character type.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public static bool IsNCNameChar(
	char ch
)

Parameters

ch
Type: System.Char

The character to verify as a non-colon character.

Return Value

Type: System.Boolean

Returns true if the character is a valid non-colon character type; otherwise, false.

.NET Framework
Available since 4.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: