IFormattable: ToString

ToString

Returns the string representation of the object.



 Public Function ToString(
	  ByVal format As String,
	  ByVal Provider As IFormatProvider ) As String

Parameters

format
[ByVal] String. The format string that describes the requested formatting of the value.
- or -
vbNullString to use the default formatting for the type.
Provider
[ByVal] IFormatProvider. A provider that can format the value.
- or -
Nothing to use the default formatter for the current locale.

Return Values

String -  A string representation of the object with formatting applied.

Remarks

See Also

Project VBCorLib Overview Class IFormattable Overview IFormattable Properties IFormattable Methods IFormatProvider