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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.