XmlConvert::IsStartNCNameChar Method (Char)

 

Checks if the passed-in character is a valid Start Name Character type.

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

public:
static bool IsStartNCNameChar(
	wchar_t ch
)

Parameters

ch
Type: System::Char

The character to validate.

Return Value

Type: System::Boolean

true if the character is a valid Start Name Character type; otherwise, false.

For details about allowed characters, see the XML 1.0 spec (fourth edition) recommendation.

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