Excel for WPF and Silverlight
FormatDotNetToXL(String,Type) Method

C1.WPF.Excel Namespace > XLStyle Class > FormatDotNetToXL Method : FormatDotNetToXL(String,Type) Method
.NET-style format to convert.
Data type to be formatted.
Converts a .NET-style format string into an Excel format string.
Syntax
'Declaration
 
Public Overloads Shared Function FormatDotNetToXL( _
   ByVal fmt As System.String, _
   ByVal dataType As System.Type _
) As System.String
public static System.string FormatDotNetToXL( 
   System.string fmt,
   System.Type dataType
)

Parameters

fmt
.NET-style format to convert.
dataType
Data type to be formatted.

Return Value

An Excel-style format string.
See Also

Reference

XLStyle Class
XLStyle Members
Overload List