FormatterConverter.ToInt64(Object) Méthode
Définition
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.
Convertit une valeur en entier signé 64 bits.
public:
virtual long ToInt64(System::Object ^ value);
public long ToInt64(object value);
abstract member ToInt64 : obj -> int64
override this.ToInt64 : obj -> int64
Public Function ToInt64 (value As Object) As Long
Paramètres
- value
- Object
Objet à convertir.
Retours
Converti value ou si le type paramètre est nullnull .
Implémente
Exceptions
Le value paramètre est null.
Remarques
Cette méthode utilise la culture invariante (voir CultureInfo.InvariantCulture). Pour utiliser la culture actuelle ou spécifier une culture, utilisez plutôt la Convert.ToInt64 méthode. Pour plus d'informations, consultez Int64, Convert et ValueType.