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.IsPublicIdChar Method

Returns the passed-in character instance if the character in the argument is a valid public id character, otherwise null.

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

public static bool IsPublicIdChar(
	char ch
)

Parameters

ch
Type: System.Char

Char object to validate.

Return Value

Type: System.Boolean
Returns the passed-in character if the character is a valid public id character, otherwise null.

.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