docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MetadataValue

    Represents a value in JSON format (string or number).

    Inheritance
    object
    MetadataContainer
    MetadataValue
    Inherited Members
    MetadataContainer.this[string]
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Cloud.Metadata
    Assembly: solution.dll
    Syntax
    public class MetadataValue : MetadataContainer

    Methods

    ToNumber()

    Tries to cast the MetadataValue as a number.

    Declaration
    public override double ToNumber()
    Returns
    Type Description
    double

    A double representing the number.

    Overrides
    MetadataContainer.ToNumber()

    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()

    Extension Methods

    MetadataContainerExtension.ToFormattedString(MetadataContainer, int, int)
    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)