Char.IConvertible.ToUInt32(IFormatProvider) Method

Definition

Important

This API is not CLS-compliant.

有关此成员的说明,请参见 ToUInt32(IFormatProvider)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
Function ToUInt32 (provider As IFormatProvider) As UInteger Implements IConvertible.ToUInt32

Parameters

provider
IFormatProvider

一个 IFormatProvider 对象。An IFormatProvider object. (由于 null 参数已被忽略,因此指定 provider。)(Specify null because the provider parameter is ignored.)

Returns

UInt32

当前 Char 对象的转换值。The converted value of the current Char object.

Implements

Attributes

Remarks

此成员是显式接口成员实现。This member is an explicit interface member implementation. 它只能在 Char 实例被强制转换为 IConvertible 接口时使用。It can be used only when the Char instance is cast to an IConvertible interface. 建议的替代项是改为调用 Convert.ToUInt32(Char) 方法。The recommended alternative is to call the Convert.ToUInt32(Char) method instead.

Applies to