asp.net.ph

Enum.ToString Method ( IFormatProvider )

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;

Parameters

provider
( Reserved ) An IFormatProvider that supplies format information about this instance.

Return Value

The string representation of the name of the value of this instance as specified by provider.

Remarks

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.

See Also

Enum Members   Enum.ToString Overload List   Format   Parse Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph