XmlConvert.ToUInt32(String) Méthode

Définition

Important

Cette API n’est pas conforme CLS.

Convertit la chaîne String en un é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

Chaîne à convertir.

Retours

Équivalent UInt32 de la chaîne.

Attributs

Exceptions

s a la valeur null.

Le format de s est incorrect.

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

S’applique à