Byte.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

此參數會被忽略。This parameter is ignored.

Returns

UInt32

目前執行個體的值,轉換為 UInt32The value of the current instance, converted to a UInt32.

Implements

Attributes

Remarks

這個成員是明確的介面成員實作。This member is an explicit interface member implementation. 只有在 Byte 執行個體轉換成 IConvertible 介面時,才能使用這個成員。It can be used only when the Byte instance is cast to an IConvertible interface. 建議的替代做法是呼叫 Convert.ToUInt32(Byte) 方法。The recommended alternative is to call the Convert.ToUInt32(Byte) method.

Applies to