XmlConvert.ToChar(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The string containing a single character to convert.
Returns
A Char
representing the single character.
Exceptions
The value of the s
parameter is null
.
The s
parameter contains more than one character.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.