XmlConvert.ToSByte(String) 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.
Important
This API is not CLS-compliant.
public:
static System::SByte ToSByte(System::String ^ s);
[System.CLSCompliant(false)]
public static sbyte ToSByte (string s);
[<System.CLSCompliant(false)>]
static member ToSByte : string -> sbyte
Public Shared Function ToSByte (s As String) As SByte
Parameters
- s
- String
The string to convert.
Returns
An SByte
equivalent of the string.
- Attributes
Exceptions
s
is null
.
s
is not in the correct format.
s
represents a number less than SByte.MinValue or greater than SByte.MaxValue.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.