DateTime.IConvertible.ToUInt64(IFormatProvider) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Important
Cette API n’est pas conforme CLS.
Cette conversion n'est pas prise en charge. Toute tentative d'utilisation de cette méthode lève une InvalidCastException.
virtual System::UInt64 System.IConvertible.ToUInt64(IFormatProvider ^ provider) = IConvertible::ToUInt64;
ulong IConvertible.ToUInt64 (IFormatProvider provider);
[System.CLSCompliant(false)]
ulong IConvertible.ToUInt64 (IFormatProvider provider);
abstract member System.IConvertible.ToUInt64 : IFormatProvider -> uint64
override this.System.IConvertible.ToUInt64 : IFormatProvider -> uint64
[<System.CLSCompliant(false)>]
abstract member System.IConvertible.ToUInt64 : IFormatProvider -> uint64
override this.System.IConvertible.ToUInt64 : IFormatProvider -> uint64
Function ToUInt64 (provider As IFormatProvider) As ULong Implements IConvertible.ToUInt64
- provider
- IFormatProvider
Objet qui implémente l'interface IFormatProvider. (Ce paramètre n'est pas utilisé ; spécifiez null
).
La valeur de retour pour ce membre n'est pas utilisée.
- Attributs
Dans tous les cas.
Produit | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 |
.NET Standard | 1.3, 1.4, 1.5, 1.6, 2.0, 2.1 |
UWP | 10.0 |