Class MetadataContainer
Represents an abstract JSON metadata container.
Inherited Members
Namespace: Unity.Cloud.Metadata
Syntax
public abstract class MetadataContainer
Properties
Item[String]
Gets the MetadataContainer with the specified key.
Declaration
public virtual MetadataContainer this[string key] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| String | key |
Property Value
| Type | Description |
|---|---|
| MetadataContainer | The MetadataContainer with the specified key. |
Methods
ToNumber()
Tries to cast the MetadataValue as a number.
Declaration
public virtual double ToNumber()
Returns
| Type | Description |
|---|---|
| Double | A double representing the number. |