Class MetadataArray
Implements
Inherited Members
Namespace: Unity.Cloud.Metadata
Assembly: solution.dll
Syntax
public class MetadataArray : MetadataContainer, IReadOnlyList<MetadataContainer>, IReadOnlyCollection<MetadataContainer>, IEnumerable<MetadataContainer>, IEnumerable
Properties
Count
Gets the number of elements in the collection.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int | The number of elements in the collection. |
this[int]
Gets the element at the specified index in the read-only list.
Declaration
public MetadataContainer this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index of the element to get. |
Property Value
| Type | Description |
|---|---|
| MetadataContainer | The element at the specified index in the read-only list. |
Methods
GetEnumerator()
Returns an enumerator that can be used to iterate through the collection.
Declaration
public IEnumerator<MetadataContainer> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<MetadataContainer> | A IEnumerator<T> that can be used to iterate through the collection. |