Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Method ToString

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    Object.ToString()

    ToString(IFormatProvider?)

    Formats the value of the current instance using the specified format.

    Declaration
    public string ToString(IFormatProvider? formatProvider)
    Parameters
    Type Name Description
    IFormatProvider formatProvider

    The provider to use to format the value.

    -or-

    A null reference (Nothing in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.

    Returns
    Type Description
    string

    The value of the current instance in the specified format.

    ToString(string?)

    Formats the value of the current instance using the specified format.

    Declaration
    public string ToString(string? elementFormat)
    Parameters
    Type Name Description
    string elementFormat
    Returns
    Type Description
    string

    The value of the current instance in the specified format.

    ToString(string?, IFormatProvider?)

    Formats the value of the current instance using the specified format.

    Declaration
    public string ToString(string? elementFormat, IFormatProvider? formatProvider)
    Parameters
    Type Name Description
    string elementFormat
    IFormatProvider formatProvider

    The provider to use to format the value.

    -or-

    A null reference (Nothing in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.

    Returns
    Type Description
    string

    The value of the current instance in the specified format.

    © Singulink. All rights reserved.