ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Length Structure / ToString Method / ToString(IFormatProvider) Method
An System.IFormatProvider object supplying the culture-specific formatting information.
Example

In This Topic
    ToString(IFormatProvider) Method
    In This Topic
    Converts the value of this instance to its equivalent string representation using the specified format.
    Syntax
    'Declaration
     
    Public Overloads Function ToString( _
       ByVal provider As IFormatProvider _
    ) As String
    public string ToString( 
       IFormatProvider provider
    )

    Parameters

    provider
    An System.IFormatProvider object supplying the culture-specific formatting information.

    Return Value

    A System.String value indicating the current Length instance.
    Example
    var length = new Length("1in");
    string result = length.ToString(CultureInfo.InvariantCulture); // "1in"
    See Also