Click or drag to resize

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
)

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: String
The value of the current instance in the specified format.

Implements

IFormattableToString(String, IFormatProvider)
See Also