docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method ToString

    ToString()

    Generates a string representation of the Guid. Same as ToString(). See Microsoft's documentation for more details.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string representation of the Guid.

    Overrides
    ValueType.ToString()

    ToString(string)

    Generates a string representation of the Guid. Same as ToString(string).

    Declaration
    public string ToString(string format)
    Parameters
    Type Name Description
    string format

    A single format specifier that indicates how to format the value of the Guid. See Microsoft's documentation for more details.

    Returns
    Type Description
    string

    A string representation of the Guid.

    ToString(string, IFormatProvider)

    Generates a string representation of the Guid. Same as ToString(string, IFormatProvider).

    Declaration
    public string ToString(string format, IFormatProvider provider)
    Parameters
    Type Name Description
    string format

    A single format specifier that indicates how to format the value of the Guid. See Microsoft's documentation for more details.

    IFormatProvider provider

    An object that supplies culture-specific formatting information.

    Returns
    Type Description
    string

    A string representation of the Guid.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)