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

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

    Parameters

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

    Return Value

    An Excel-style format string.
    See Also