Share via


ToChar Method (String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Converts a string to a Char value.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

Syntax

'Declaration
Public Shared Function ToChar ( _
    Value As String _
) As Char
public static char ToChar(
    string Value
)
public:
static wchar_t ToChar(
    String^ Value
)
static member ToChar : 
        Value:string -> char 
public static function ToChar(
    Value : String
) : char

Parameters

Return Value

Type: System. . :: . .Char
The Char value of the string.

.NET Framework Security

See Also

Reference

Conversions Class

ToChar Overload

Microsoft.VisualBasic.CompilerServices Namespace