Conversions.ToByte 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 Byte value.
Overloads
ToByte(Object) |
Converts an object to a Byte value. |
ToByte(String) |
Converts a string to a Byte value. |
ToByte(Object)
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
Converts an object to a Byte value.
public:
static System::Byte ToByte(System::Object ^ Value);
public static byte ToByte (object Value);
public static byte ToByte (object? Value);
static member ToByte : obj -> byte
Public Shared Function ToByte (Value As Object) As Byte
Parameters
- Value
- Object
The object to convert.
Returns
The Byte
value of the object.
Applies to
ToByte(String)
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
Converts a string to a Byte value.
public:
static System::Byte ToByte(System::String ^ Value);
public static byte ToByte (string Value);
public static byte ToByte (string? Value);
static member ToByte : string -> byte
Public Shared Function ToByte (Value As String) As Byte
Parameters
- Value
- String
The string to convert.
Returns
The Byte
value of the string.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru