String.IConvertible.ToString(IFormatProvider) Method

Definition

For a description of this member, see ToString(IFormatProvider).

 virtual System::String ^ System.IConvertible.ToString(IFormatProvider ^ provider) = IConvertible::ToString;
string IConvertible.ToString (IFormatProvider provider);
abstract member System.IConvertible.ToString : IFormatProvider -> string
override this.System.IConvertible.ToString : IFormatProvider -> string
Function ToString (provider As IFormatProvider) As String Implements IConvertible.ToString

Parameters

provider
IFormatProvider

An object that supplies culture-specific formatting information.

-or-

null to use the formatting conventions of the current culture.

Returns

A String instance equivalent to the value of this instance.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the String instance is cast to an IConvertible interface.

Applies to