Class MetadataValue
Represents a value in JSON format (string or number).
Inherited Members
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
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. |