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
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 -> char
Public Shared Function ToChar (Value As Object) As Char
Parameters
- 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
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 -> char
Public Shared Function ToChar (Value As String) As Char
Parameters
- Value
- String
The string to convert.
Returns
The Char
value of the string.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.