Table of Contents

Method TryParseUInt32

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

TryParseUInt32(string?, NumberStyles, IFormatProvider?, out object?)

public static bool TryParseUInt32(string? s, NumberStyles style, IFormatProvider? provider, out object? result)

Parameters

s string

The string to parse.

style NumberStyles

A bitwise combination of NumberStyles values that indicates the permitted format of s.

provider IFormatProvider

An object that supplies culture-specific formatting information about s.

result object

When this method returns and if the conversion succeeded, contains a number equivalent of the numeric value or symbol contained in s. Contains default value for the type if the conversion failed.

Returns

bool

true if s was converted successfully; otherwise, false.