XmlConvert.ToChar(String) XmlConvert.ToChar(String) XmlConvert.ToChar(String) XmlConvert.ToChar(String) Method

Definition

Converts the String to a Char equivalent.

public:
 static char ToChar(System::String ^ s);
public static char ToChar (string s);
static member ToChar : string -> char
Public Shared Function ToChar (s As String) As Char

Parameters

s
String String String String

The string containing a single character to convert.

Returns

A Char representing the single character.

Exceptions

The s parameter contains more than one character.

Applies to