TimeSpanContainerToString Method (String, IFormatProvider) |
Formats the value of the current instance using the specified format.
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 10.0.0
Syntaxpublic string ToString(
string format,
IFormatProvider formatProvider
)
Parameters
- format
- Type: SystemString
The format to use or a null reference to use the default format defined for the type of the IFormattable implementation. - formatProvider
- Type: SystemIFormatProvider
The provider to use to format the value or a null reference to obtain the numeric format information from the current locale setting of the operating system.
Return Value
Type:
String
The value of the current instance in the specified format.
Implements
IFormattableToString(String, IFormatProvider)
See Also