EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.
Ce sujet n'a pas encore été évalué - Évaluez ce sujet

BitConverter.GetBytes Method

April 12, 2014

Converts the specified data to an array of bytes.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member GetBytes(Boolean) Returns the specified Boolean value as an array of bytes.
Public method Static member GetBytes(Char) Returns the specified Unicode character value as an array of bytes.
Public method Static member GetBytes(Double) Returns the specified double-precision floating point value as an array of bytes.
Public method Static member GetBytes(Int16) Returns the specified 16-bit signed integer value as an array of bytes.
Public method Static member GetBytes(Int32) Returns the specified 32-bit signed integer value as an array of bytes.
Public method Static member GetBytes(Int64) Returns the specified 64-bit signed integer value as an array of bytes.
Public method Static member GetBytes(Single) Returns the specified single-precision floating point value as an array of bytes.
Public method Static member GetBytes(UInt16) Returns the specified 16-bit unsigned integer value as an array of bytes.
Public method Static member GetBytes(UInt32) Returns the specified 32-bit unsigned integer value as an array of bytes.
Public method Static member GetBytes(UInt64) Returns the specified 64-bit unsigned integer value as an array of bytes.
Top

Cela vous a-t-il été utile ?
(1500 caractères restants)
Merci pour vos suggestions.
Afficher:
© 2014 Microsoft. Tous droits réservés.