Int32.IConvertible.ToInt32(IFormatProvider) Method

Definition

如需這個成員的說明,請參閱 ToInt32(IFormatProvider)For a description of this member, see ToInt32(IFormatProvider).

 virtual int System.IConvertible.ToInt32(IFormatProvider ^ provider) = IConvertible::ToInt32;
int IConvertible.ToInt32 (IFormatProvider provider);
abstract member System.IConvertible.ToInt32 : IFormatProvider -> int
override this.System.IConvertible.ToInt32 : IFormatProvider -> int
Function ToInt32 (provider As IFormatProvider) As Integer Implements IConvertible.ToInt32

Parameters

provider
IFormatProvider

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

Returns

Int32

目前執行個體的值,未變更。The value of the current instance, unchanged.

Implements

Remarks

這個成員是明確的介面成員實作。This member is an explicit interface member implementation. 只有在 Int32 執行個體轉換成 IConvertible 介面時,才能使用這個成員。It can be used only when the Int32 instance is cast to an IConvertible interface.

Applies to