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, _
ByVal As System.Globalization.CultureInfo _
) As System.String
'Usage
Dim fmt As System.String
Dim dataType As System.Type
Dim culture As System.Globalization.CultureInfo
Dim value As System.String
value = XLStyle.FormatDotNetToXL(fmt, dataType, culture)
public static System.string FormatDotNetToXL(
System.string ,
System.Type ,
System.Globalization.CultureInfo
)
Parameters
- fmt
- .NET-style format to convert.
- dataType
- Data type to be formatted.
- culture
- The System.Globalization.CultureInfo object.
Return Value
An Excel-style format string.