YamlSequence Class
Represents the Yaml Sequence.
public class YamlSequence : YamlContainer, ICollection<YamlNode>, IEnumerable<YamlNode>, IList<YamlNode>, IEnumerable- Inheritance
YamlContainerYamlSequence- Implements
Constructors
| Name | Description |
|---|---|
| YamlSequence() | Initializes a new instance of this type. |
YamlSequence()
YamlSequence.csInitializes a new instance of this type.
public YamlSequence()Properties
| Name | Description |
|---|---|
| Anchor | Gets anchor. |
| Count | Gets count. |
| IsCanonical | Gets a value indicating whether is Canonical. |
| IsImplicit | Gets is Implicit. |
| IsReadOnly | Gets a value indicating whether is Read Only. |
| SequenceStart | Gets sequence Start. |
| Style | Gets style. |
| Tag | Gets tag. |
Anchor
YamlSequence.csCount
YamlSequence.csIsCanonical
YamlSequence.csIsImplicit
YamlSequence.csIsReadOnly
YamlSequence.csSequenceStart
YamlSequence.csStyle
YamlSequence.csIndexers
| Name | Description |
|---|---|
| this[int] | Gets or sets an element at the specified index. |
this[int]
YamlSequence.csMethods
| Name | Description |
|---|---|
| Add(YamlNode) | Adds an item. |
| Clear() | Removes all elements from the collection. |
| Contains(YamlNode) | Determines whether a value exists. |
| CopyTo(YamlNode[], int) | Copies the elements to an array starting at the specified index. |
| DeepClone() | Creates a deep clone of the current value. |
| GetEnumerator() | Gets enumerator. |
| IndexOf(YamlNode) | Gets the zero-based index of the specified item. |
| Insert(int, YamlNode) | Inserts an item at the specified index. |
| Load(EventReader) | Loads data. |
| Remove(YamlNode) | Removes an item. |
| RemoveAt(int) | Removes at. |
| System.Collections.IEnumerable.GetEnumerator() |
Add(YamlNode)
YamlSequence.csClear()
YamlSequence.csRemoves all elements from the collection.
public void Clear()Contains(YamlNode)
YamlSequence.csCopyTo(YamlNode[], int)
YamlSequence.csDeepClone()
YamlSequence.csGetEnumerator()
YamlSequence.csIndexOf(YamlNode)
YamlSequence.csInsert(int, YamlNode)
YamlSequence.csLoad(EventReader)
YamlSequence.csLoads data.
public static YamlSequence Load(EventReader eventReader)