[]
Represents a collection of lines.
public class LineCollection : IList, ICollection, IList<Line>, ICollection<Line>, IEnumerable<Line>, IEnumerable, ICloneable
Public Class LineCollection
Implements IList, ICollection, IList(Of Line), ICollection(Of Line), IEnumerable(Of Line), IEnumerable, ICloneable
Name | Description |
---|---|
LineCollection() | Creates a new collection of lines. |
LineCollection(LineCollection) | Creates a new collection of lines that is a copy of the specified collection of lines. |
Name | Description |
---|---|
Count | Gets the number of lines in the collection. |
this[int] | Gets or sets the line at the specified index. |
Name | Description |
---|---|
Add(Line) | Adds a line to the collection. |
AddRange(Line[]) | Adds an array of lines to the collection. |
Clear() | Removes all lines from the collection. |
Clone() | Creates a new collection that is a copy of this collection. |
Contains(Line) | Determines whether the collection contains a specific line. |
CopyTo(Line[], int) | Copies the lines in the collection to an array, starting at the specified array index. |
GetEnumerator() | Gets an enumerator that iterates through the collection. |
IndexOf(Line) | Determines the index of the line in the collection. |
Insert(int, Line) | Inserts a line into the collection at the specified index. |
InsertRange(int, Line[]) | Inserts an array of lines into the collection at the specified index. |
OnChanged(EventArgs) | Raises the Changed event. |
Remove(Line) | Removes a line from the collection. |
RemoveAt(int) | Removes a line from the collection at the specified index. |
Name | Description |
---|---|
Changed | Occurs when the collection is changed. |