Class MetadataValue
Represents a value in JSON format (string or number).
Inherited Members
Namespace: Unity.Cloud.Metadata
Assembly: Unity.Cloud.Metadata.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()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |