Visual Basic (Usage) | ![]() |
---|---|
Dim instance As NumericRange 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
- (Unused) Always pass NULL/NOTHING
- formatProvider
- (Unused) Always pass NULL/NOTHING
Exception | Description |
---|---|
System.FormatException | Thrown when a non null/nothing is passed for either parameter |
Formats the numeric range as a string.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x