Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLStyle Class / FormatXLToDotNet Method / FormatXLToDotNet(String,CultureInfo) Method
Excel-style format to convert.
The System.Globalization.CultureInfo object.

In This Topic
    FormatXLToDotNet(String,CultureInfo) Method
    In This Topic
    Converts an Excel-style format string into a .NET-style format string.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FormatXLToDotNet( _
       ByVal fmt As String, _
       ByVal culture As CultureInfo _
    ) As String
    public static string FormatXLToDotNet( 
       string fmt,
       CultureInfo culture
    )

    Parameters

    fmt
    Excel-style format to convert.
    culture
    The System.Globalization.CultureInfo object.

    Return Value

    A .NET-style format string.
    See Also