Share via


XmlConvert.ToUInt32(String) メソッド

定義

重要

この API は CLS 準拠ではありません。

String を等価の 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

パラメーター

s
String

変換する文字列。

戻り値

文字列と等価の UInt32

属性

例外

snullです。

s が正しい形式ではありません。

s は、 UInt32.MinValue 未満または UInt32.MaxValue より大きい数値を表します。

適用対象