Enum.IConvertible.ToString(IFormatProvider) Method

Definition

Warning

This API is now obsolete.

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

Parameters

provider
IFormatProvider

An IFormatProvider implementation that supplies culture-specific information about the format of the returned value. This argument is not used.

Returns

The string representation of the value of this instance.

Implements

Attributes

Applies to