Int32.IConvertible.ToUInt16(IFormatProvider) Metodo
Definizione
Importante
Questa API non è conforme a CLS.
Per una descrizione di questo membro, vedere ToUInt16(IFormatProvider).For a description of this member, see ToUInt16(IFormatProvider).
virtual System::UInt16 System.IConvertible.ToUInt16(IFormatProvider ^ provider) = IConvertible::ToUInt16;
[System.CLSCompliant(false)]
ushort IConvertible.ToUInt16 (IFormatProvider provider);
Function ToUInt16 (provider As IFormatProvider) As UShort Implements IConvertible.ToUInt16
Parametri
- provider
- IFormatProvider
Questo parametro viene ignorato.This parameter is ignored.
Restituisce
Valore dell'istanza corrente, convertito in UInt16.The value of the current instance, converted to a UInt16.
Implementazioni
- Attributi
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 Int32 a un'interfaccia IConvertible.It can be used only when the Int32 instance is cast to an IConvertible interface. L'alternativa consigliata consiste nel chiamare Convert.ToUInt16(Int32) il metodo.The recommended alternative is to call the Convert.ToUInt16(Int32) method.