DateToString Method (String, IFormatProvider) | |
Formats the value of the current instance using the specified format.
Namespace:
PSI.Sox
Assembly:
PSI.Sox (in PSI.Sox.dll) Version: 2.1
Syntax public string ToString(
string format,
IFormatProvider formatProvider
)
public:
virtual String^ ToString(
String^ format,
IFormatProvider^ formatProvider
) sealed
function ToString(format, formatProvider);
Parameters
- format
- Type: SystemString
The format to use.-or- A null reference (Nothing 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 (Nothing 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