Converts a .NET-style format string into an Excel format string.
'Declaration
Public Overloads Shared Function FormatDotNetToXL( _
ByVal As System.String, _
ByVal As System.Type _
) As System.String
'Usage
Dim fmt As System.String
Dim dataType As System.Type
Dim value As System.String
value = XLStyle.FormatDotNetToXL(fmt, dataType)
public static System.string FormatDotNetToXL(
System.string ,
System.Type
)
Parameters
- fmt
- .NET-style format to convert.
- dataType
- Data type to be formatted.
Return Value
An Excel-style format string.