Visual Basic (Usage) | ![]() |
---|---|
Dim instance As DataValue Dim format As String Dim formatProvider As IFormatProvider Dim value As String value = instance.ToString(format, formatProvider) |
C# | |
---|---|
public string ToString( string format, IFormatProvider formatProvider ) |
Parameters
- format
- Not used, ALWAYS specify a null/nothing value
- formatProvider
- The format string, ALWAYS specify a null/nothing value
Exception | Description |
---|---|
System.FormatException | Thrown when the format is NOT null/nothing |
Returns the string representation of the object.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x