Uredi

Deli z drugimi prek


String.IConvertible.ToUInt32(IFormatProvider) Method

Definition

Important

This API is not CLS-compliant.

For a description of this member, see ToUInt32(IFormatProvider).

 virtual System::UInt32 System.IConvertible.ToUInt32(IFormatProvider ^ provider) = IConvertible::ToUInt32;
uint IConvertible.ToUInt32 (IFormatProvider provider);
[System.CLSCompliant(false)]
uint IConvertible.ToUInt32 (IFormatProvider provider);
abstract member System.IConvertible.ToUInt32 : IFormatProvider -> uint32
override this.System.IConvertible.ToUInt32 : IFormatProvider -> uint32
[<System.CLSCompliant(false)>]
abstract member System.IConvertible.ToUInt32 : IFormatProvider -> uint32
override this.System.IConvertible.ToUInt32 : IFormatProvider -> uint32
Function ToUInt32 (provider As IFormatProvider) As UInteger Implements IConvertible.ToUInt32

Parameters

provider
IFormatProvider

An object that provides culture-specific formatting information.

Returns

The converted value of the current String object.

Implements

Attributes

Exceptions

The value of the current String object cannot be parsed.

The value of the current String object is a number greater UInt32.MaxValue or less than UInt32.MinValue

Remarks

This member is an explicit interface member implementation. It can be used only when the String instance is cast to an IConvertible interface. The recommended alternative is to call the Convert.ToUInt32(String, IFormatProvider) method.

Applies to