MetaDataList

public sealed class MetaDataList
A list of unique metadata instances.

Constructors

MetaDataList

#
public MetaDataList()

Properties

Count

#
public int Count { get; }
Gets the number of items in this collection.

Indexers

this[]

#
public MetaData this[int index] { get; }
Gets the item at the given index.
index (int)

Methods

Add

#
public int Add(MetaData meta)
Add a new metadata value to this collection.
meta (MetaData)Meta to add.
Index of added value, or index of identical value if already present in list. Or -1 if the meta data is null or empty.

IndexOf

#
public int IndexOf(MetaData meta)
Find the index of meta data in this collection which equals the given data.
meta (MetaData)

ToArray

#
public MetaData[] ToArray()
Create an array out of this collection.