YamlDotNet - A .NET library for parsing and emitting YAML
TagDirectiveCollection Class
NamespacesYamlDotNet.CoreTagDirectiveCollection

[This is preliminary documentation and is subject to change.]

Collection of TagDirective.
Declaration Syntax
C#Visual BasicVisual C++
public class TagDirectiveCollection : KeyedCollection<string, TagDirective>
Public Class TagDirectiveCollection _
	Inherits KeyedCollection(Of String, TagDirective)
public ref class TagDirectiveCollection : public KeyedCollection<String^, TagDirective^>
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
TagDirectiveCollection()()()()
Initializes a new instance of the TagDirectiveCollection class.

TagDirectiveCollection(IEnumerable<(Of <<'(TagDirective>)>>))
Initializes a new instance of the TagDirectiveCollection class.

Add(T)
Adds an object to the end of the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'TagDirective>)>)>.)
ChangeItemKey(TItem, TKey)
Changes the key associated with the specified element in the lookup dictionary.
(Inherited from KeyedCollection<(Of <(<'String, TagDirective>)>)>.)
Clear()()()()
Removes all elements from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'TagDirective>)>)>.)
ClearItems()()()()
Removes all elements from the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'String, TagDirective>)>)>.)
Comparer
Gets the generic equality comparer that is used to determine equality of keys in the collection.
(Inherited from KeyedCollection<(Of <(<'String, TagDirective>)>)>.)
Contains(TagDirective)
Gets a value indicating whether the collection contains a directive with the same handle

Contains(TKey)
Determines whether the collection contains an element with the specified key.
(Inherited from KeyedCollection<(Of <(<'String, TagDirective>)>)>.)
CopyTo(array<T>[]()[][], Int32)
Copies the entire Collection<(Of <(<'T>)>)> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from Collection<(Of <(<'TagDirective>)>)>.)
Count
Gets the number of elements actually contained in the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'TagDirective>)>)>.)
Dictionary
Gets the lookup dictionary of the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'String, TagDirective>)>)>.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator()()()()
Returns an enumerator that iterates through the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'TagDirective>)>)>.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetKeyForItem(TagDirective)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IndexOf(T)
Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'TagDirective>)>)>.)
Insert(Int32, T)
Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index.
(Inherited from Collection<(Of <(<'TagDirective>)>)>.)
InsertItem(Int32, TItem)
Inserts an element into the KeyedCollection<(Of <(<'TKey, TItem>)>)> at the specified index.
(Inherited from KeyedCollection<(Of <(<'String, TagDirective>)>)>.)
Item[([( TKey])])
Gets the element with the specified key.
(Inherited from KeyedCollection<(Of <(<'String, TagDirective>)>)>.)
Item[([( Int32])])
Gets or sets the element at the specified index.
(Inherited from Collection<(Of <(<'TagDirective>)>)>.)
Items (Inherited from Collection<(Of <(<'TagDirective>)>)>.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(TKey)
Removes the element with the specified key from the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'String, TagDirective>)>)>.)
Remove(T)
Removes the first occurrence of a specific object from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'TagDirective>)>)>.)
RemoveAt(Int32)
Removes the element at the specified index of the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'TagDirective>)>)>.)
RemoveItem(Int32)
Removes the element at the specified index of the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'String, TagDirective>)>)>.)
SetItem(Int32, TItem)
Replaces the item at the specified index with the specified item.
(Inherited from KeyedCollection<(Of <(<'String, TagDirective>)>)>.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
Collection<(Of <(<'TagDirective>)>)>
 KeyedCollection<(Of <(<'String, TagDirective>)>)>
  TagDirectiveCollection

Assembly: YamlDotNet.Core (Module: YamlDotNet.Core) Version: 0.2.4456.17949