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
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.