|
CurrentToString(String, IFormatProvider) Method
|
Converts the numeric value of this instance to its equivalent string representation using the
specified format and culture-specific format information.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntaxpublic string ToString(
string format,
IFormatProvider provider
)
Public Function ToString (
format As String,
provider As IFormatProvider
) As String
public:
virtual String^ ToString(
String^ format,
IFormatProvider^ provider
) sealed
abstract ToString :
format : string *
provider : IFormatProvider -> string
override ToString :
format : string *
provider : IFormatProvider -> string
function ToString(format, provider);
View SourceParameters
- format String
- A format specification.
- provider IFormatProvider
-
A IFormatProvider that supplies culture-specific formatting information.
Return Value
String
The string representation of the value of this instance as specified by format and provider.
Implements
IFormattableToString(String, IFormatProvider)
See Also