Conversions.ToChar 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.
Converts the specified object to a Char value.
Overloads
| ToChar(Object) | Converts an object to a Char value. | 
| ToChar(String) | Converts a string to a Char value. | 
ToChar(Object)
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
Converts an object to a Char value.
public:
 static char ToChar(System::Object ^ Value);public static char ToChar(object Value);public static char ToChar(object? Value);static member ToChar : obj -> charPublic Shared Function ToChar (Value As Object) As CharParameters
- Value
- Object
The object to convert.
Returns
The Char value of the object.
Applies to
ToChar(String)
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
Converts a string to a Char value.
public:
 static char ToChar(System::String ^ Value);public static char ToChar(string Value);public static char ToChar(string? Value);static member ToChar : string -> charPublic Shared Function ToChar (Value As String) As CharParameters
- Value
- String
The string to convert.
Returns
The Char value of the string.