Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TryParse() [6/12]

static bool System.UInt32.TryParse ( [NotNullWhen(true)] string? s,
out uint result )
inlinestatic

Definition at line 161 of file UInt32.cs.

162 {
163 if (s == null)
164 {
165 result = 0u;
166 return false;
167 }
168 return Number.TryParseUInt32IntegerStyle(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result) == Number.ParsingStatus.OK;
169 }

References System.Globalization.NumberFormatInfo.CurrentInfo, System.s, and System.Number.TryParseUInt32IntegerStyle().

Referenced by System.UInt32.TryParse(), System.UInt32.TryParse(), System.UInt32.TryParse(), and System.UInt32.TryParse().