String.IConvertible.ToSByte(IFormatProvider) Metodo
Definizione
Importante
Questa API non è conforme a CLS.
Per una descrizione di questo membro, vedere ToSByte(IFormatProvider).For a description of this member, see ToSByte(IFormatProvider).
virtual System::SByte System.IConvertible.ToSByte(IFormatProvider ^ provider) = IConvertible::ToSByte;
[System.CLSCompliant(false)]
sbyte IConvertible.ToSByte (IFormatProvider provider);
Function ToSByte (provider As IFormatProvider) As SByte Implements IConvertible.ToSByte
Parametri
- provider
- IFormatProvider
Oggetto che fornisce informazioni di formattazione specifiche delle impostazioni cultura.An object that provides culture-specific formatting information.
Restituisce
Implementazioni
- Attributi
Eccezioni
Il valore dell'oggetto String corrente non può essere analizzato.The value of the current String object cannot be parsed.
Il valore dell'oggetto String corrente è un numero maggiore di MaxValue o minore di MinValue.The value of the current String object is a number greater than MaxValue or less than MinValue.
Commenti
Questo membro è un’implementazione esplicita di un membro di interfaccia.This member is an explicit interface member implementation. Può essere utilizzato solo quando si esegue il cast dell'istanza String a un'interfaccia IConvertible.It can be used only when the String instance is cast to an IConvertible interface. L'alternativa consigliata consiste nel chiamare il metodo Convert.ToSByte(String, IFormatProvider).The recommended alternative is to call the Convert.ToSByte(String, IFormatProvider) method.