Class LLM.MetadataCollection
Represents a collection of Metadata objects.
public sealed class LLM.MetadataCollection
- Inheritance
-
LLM.MetadataCollection
- Inherited Members
Constructors
- MetadataCollection()
Initializes a new instance of the LLM.MetadataCollection class.
- MetadataCollection(IEnumerable<Metadata>)
Initializes a new instance of the LLM.MetadataCollection class with a collection of metadata.
Properties
- Count
Gets the number of metadata entries in the collection.
- Metadata
Gets a read-only collection of metadata entries.
Methods
- Add(Metadata)
Adds a metadata entry to the collection.
- Clear()
Removes all metadata entries from the collection.
- Clone()
Creates a deep copy of the current MetadataCollection object.
- ContainsKey(string)
Determines whether a metadata entry with the specified key exists in the collection.
- ElementAt(int)
Retrieves the metadata entry at the specified zero-based index.
- Remove(Metadata)
Removes the specified metadata entry from the collection.
- Remove(string)
Attempts to remove the first occurrence of a metadata entry with the specified key from the collection.
- RemoveAt(int)
Removes the metadata entry at the specified index.