XmlConvert.ToUInt32(String) Méthode

Définition

Important

Cette API n’est pas conforme CLS.

Convertit le String en équivalent UInt32 .

public:
 static System::UInt32 ToUInt32(System::String ^ s);
[System.CLSCompliant(false)]
public static uint ToUInt32(string s);
[<System.CLSCompliant(false)>]
static member ToUInt32 : string -> uint32
Public Shared Function ToUInt32 (s As String) As UInteger

Paramètres

s
String

La chaîne à convertir.

Retours

Équivalent UInt32 de la chaîne.

Attributs

Exceptions

s a la valeur null.

s n’est pas au format correct.

s représente un nombre inférieur à UInt32.MinValue ou supérieur à UInt32.MaxValue.

S’applique à