IFormattable: ToString

ToString

Returns the string representation of the object.



 Public Function ToString(
	  ByRef Format As String,
	  ByVal Provider As IFormatProvider ) As String

Parameters

Format
[ByRef] 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.

See Also

Project CorLib Overview

Class IFormattable Overview

IFormatProvider