docs.unity3d.com
    Show / Hide Table of Contents

    Struct SerializableGuid

    Struct SerializableGuid

    Namespace: UnityEngine.Industrial.Configuring.Core
    Syntax
    [Serializable]
    public struct SerializableGuid : IComparable, IComparable<SerializableGuid>, IEquatable<SerializableGuid>

    Properties

    Value

    Gets the value.

    Declaration
    public string Value { get; }
    Property Value
    Type Description
    String

    The value.

    Methods

    CompareTo(Object)

    Compares to.

    Declaration
    public int CompareTo(object value)
    Parameters
    Type Name Description
    Object value

    The value.

    Returns
    Type Description
    Int32

    System.Int32.

    Exceptions
    Type Condition
    ArgumentException

    Must be SerializableGuid

    CompareTo(SerializableGuid)

    Compares to.

    Declaration
    public int CompareTo(SerializableGuid other)
    Parameters
    Type Name Description
    SerializableGuid other

    The other.

    Returns
    Type Description
    Int32

    System.Int32.

    Equals(Object)

    Determines whether the specified Object is equal to this instance.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The Object to compare with this instance.

    Returns
    Type Description
    Boolean

    true if the specified Object is equal to this instance; otherwise, false.

    Overrides
    ValueType.Equals(Object)

    Equals(SerializableGuid)

    Equalses the specified other.

    Declaration
    public bool Equals(SerializableGuid other)
    Parameters
    Type Name Description
    SerializableGuid other

    The other.

    Returns
    Type Description
    Boolean

    true if XXXX, false otherwise.

    GetHashCode()

    Returns a hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

    Overrides
    ValueType.GetHashCode()

    ToString()

    Returns a String that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A String that represents this instance.

    Overrides
    ValueType.ToString()

    Operators

    Implicit(Guid to SerializableGuid)

    Performs an implicit conversion from Guid to SerializableGuid.

    Declaration
    public static implicit operator SerializableGuid(Guid guid)
    Parameters
    Type Name Description
    Guid guid

    The unique identifier.

    Returns
    Type Description
    SerializableGuid

    The result of the conversion.

    Implicit(SerializableGuid to Guid)

    Performs an implicit conversion from SerializableGuid to Guid.

    Declaration
    public static implicit operator Guid(SerializableGuid serializableGuid)
    Parameters
    Type Name Description
    SerializableGuid serializableGuid

    The serializable unique identifier.

    Returns
    Type Description
    Guid

    The result of the conversion.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023