NumberToString Method (String, IFormatProvider) |
Formats the value of the current instance using the specified format.
Namespace:
Dundas.BI
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax public string ToString(
string format,
IFormatProvider formatProvider
)
Public Function ToString (
format As String,
formatProvider As IFormatProvider
) As String
public:
virtual String^ ToString(
String^ format,
IFormatProvider^ formatProvider
) sealed
abstract ToString :
format : string *
formatProvider : IFormatProvider -> string
override ToString :
format : string *
formatProvider : IFormatProvider -> string
Parameters
- format
- Type: SystemString
The format to use.
-or-
A null reference ( in Visual Basic) to use the default format defined for the type of the IFormattable implementation. - formatProvider
- Type: SystemIFormatProvider
The provider to use to format the value.
-or-
A null reference ( in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.
Return Value
Type:
StringThe value of the current instance in the specified format.
Implements
IFormattableToString(String, IFormatProvider)See Also