Enum.IConvertible.ToString(IFormatProvider) 方法

定义

警告

此 API 现已过时。

此方法重载已过时;请改用 ToString()This method overload is obsolete; use ToString() instead.

 virtual System::String ^ System.IConvertible.ToString(IFormatProvider ^ provider) = IConvertible::ToString;
[System.Obsolete("The provider argument is not used. Please use ToString().")]
string IConvertible.ToString (IFormatProvider provider);
Function ToString (provider As IFormatProvider) As String Implements IConvertible.ToString

参数

provider
IFormatProvider

一个 IFormatProvider 实现,提供有关返回值格式的区域性特定信息。An IFormatProvider implementation that supplies culture-specific information about the format of the returned value. 未使用此参数。This argument is not used.

返回

此实例的值的字符串表示形式。The string representation of the value of this instance.

实现

属性

适用于