Byte.IConvertible.ToInt16(IFormatProvider) Méthode
Définition
Pour obtenir une description de ce membre, consultez ToInt16(IFormatProvider).For a description of this member, see ToInt16(IFormatProvider).
virtual short System.IConvertible.ToInt16(IFormatProvider ^ provider) = IConvertible::ToInt16;
short IConvertible.ToInt16 (IFormatProvider provider);
Function ToInt16 (provider As IFormatProvider) As Short Implements IConvertible.ToInt16
Paramètres
- provider
- IFormatProvider
Ce paramètre est ignoré.This parameter is ignored.
Retours
Valeur de l'instance actuelle, convertie en Int16.The value of the current instance, converted to an Int16.
Implémente
Remarques
Ce membre est une implémentation d'un membre d'interface explicite.This member is an explicit interface member implementation. Il peut uniquement être utilisé lorsque l'instance de Byte est castée en interface IConvertible.It can be used only when the Byte instance is cast to an IConvertible interface. L’alternative recommandée consiste à appeler la méthode Convert.ToInt16(Byte).The recommended alternative is to call the Convert.ToInt16(Byte) method.