Bridge

Char..::..Parse Method

Converts the value of the specified string to its equivalent Unicode character.

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

Syntax


[TemplateAttribute]
public static char Parse(
	string s
)
<TemplateAttribute> _
Public Shared Function Parse ( _
	s As String _
) As Char
[TemplateAttribute]
public:
static wchar_t^ Parse(
	String^ s
)

Parameters

s
Type: System..::..String
A string that contains a single character, or null.

Return Value

A Unicode character equivalent to the sole character in s.

Exceptions


ExceptionCondition
System..::..ArgumentNullExceptions is null.
System..::..FormatExceptionThe length of s is not 1.