Convert: ToString

ToString

Converts a datatype value to a string representation using any supplied formatting or provider arguments.



 Public Function ToString(
	  ByRef Value As Variant,
	  Optional ByVal format As String,
	  Optional ByVal Provider As IFormatProvider ) As String

Parameters

Value
[ByRef] Variant. The value to convert to a string.
format
[ByVal] Optional. String. Formatting information for converting the value.
Provider
[ByVal] Optional. IFormatProvider. A formatting provider to help custom formatting.

Return Values

String -  A string representation of the value.

Remarks

See Also

Project VBCorLib Overview Class Convert Overview Convert Properties Convert Methods ToBase64String