Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XmlConvert.IsWhitespaceChar Method

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft