System Namespace Enum Class
Converts the value of this instance to its equivalent string representation using the specified format information.
[ VB ]
<Serializable>
NotOverridable Overloads Public Function ToString ( _
ByVal provider As IFormatProvider _
) As String
[ C# ]
[Serializable]
public string ToString (
IFormatProvider provider
);
[ C++ ]
[Serializable]
public: __sealed String* ToString (
IFormatProvider* provider
);
[JScript ]
public Serializable
function ToString (
provider : IFormatProvider
) : String;
- provider
- ( Reserved ) An IFormatProvider that supplies format information about this instance.
The string representation of the name of the value of this instance as specified by provider.
The provider parameter is reserved; it does not participate in this operation and can be specified as a null reference ( Nothing in Visual Basic ). Therefore, this method is equivalent to the ToString method that takes no parameters.
Enum Members Enum.ToString Overload List Format Parse