Conversions.ToSByte 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 an SByte value.
Overloads
ToSByte(String) |
Converts a string to an SByte value. |
ToSByte(Object) |
Converts an object to an SByte value. |
ToSByte(String)
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
Important
This API is not CLS-compliant.
- CLS-compliant alternative
- Microsoft.VisualBasic.CompilerServices.Conversions.ToByte(String)
Converts a string to an SByte value.
public:
static System::SByte ToSByte(System::String ^ Value);
[System.CLSCompliant(false)]
public static sbyte ToSByte (string Value);
[System.CLSCompliant(false)]
public static sbyte ToSByte (string? Value);
[<System.CLSCompliant(false)>]
static member ToSByte : string -> sbyte
Public Shared Function ToSByte (Value As String) As SByte
Parameters
- Value
- String
The string to convert.
Returns
The SByte
value of the string.
- Attributes
Applies to
ToSByte(Object)
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
Important
This API is not CLS-compliant.
- CLS-compliant alternative
- Microsoft.VisualBasic.CompilerServices.Conversions.ToByte(Object)
Converts an object to an SByte value.
public:
static System::SByte ToSByte(System::Object ^ Value);
[System.CLSCompliant(false)]
public static sbyte ToSByte (object Value);
[System.CLSCompliant(false)]
public static sbyte ToSByte (object? Value);
[<System.CLSCompliant(false)>]
static member ToSByte : obj -> sbyte
Public Shared Function ToSByte (Value As Object) As SByte
Parameters
- Value
- Object
The object to convert.
Returns
The SByte
value of the object.
- Attributes
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.