ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / Strings Class / Format Method
Required. Any valid expression.
Optional. A valid named or user-defined format String expression.

In This Topic
    Format Method (Strings)
    In This Topic
    Returns a string formatted according to instructions contained in a format String expression.
    Syntax
    'Declaration
     
    Public Shared Function Format( _
       ByVal expression As Object, _
       Optional ByVal style As String _
    ) As String
    public static string Format( 
       object expression,
       string style
    )

    Parameters

    expression
    Required. Any valid expression.
    style
    Optional. A valid named or user-defined format String expression.

    Return Value

    Returns a string formatted according to instructions contained in a format String expression.
    See Also