IsWhitespaceChar Method

XmlConvert.IsWhitespaceChar Method (Char)

 

Checks if the passed-in character is a valid XML whitespace character.

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

public static bool IsWhitespaceChar(
	char ch
)

Parameters

ch
Type: System.Char

The character to validate.

Return Value

Type: System.Boolean

true if the passed in character is a valid XML whitespace character; 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:
© 2016 Microsoft