RowsCollection
Represents a collection of RowElement items used by the CSV export pipeline.
Definition
Namespace:Telerik.WinControls.UI.Export.CSV
Assembly:TelerikData.dll
Syntax:
public class RowsCollection : IRowsCollection, IList, ICollection, IEnumerable
Inheritance: objectRowsCollection
Implements:
Constructors
Initializes a new instance of the RowsCollection class.
public RowsCollection()
Properties
Gets the number of elements contained in the collection.
public int Count { get; }
Implements:
Gets a value indicating whether the collection has a fixed size.
public bool IsFixedSize { get; }
Implements:
Gets a value indicating whether the collection is read-only.
public bool IsReadOnly { get; }
Implements:
Gets a value indicating whether access to the collection is synchronized.
public bool IsSynchronized { get; }
Implements:
Gets an object that can be used to synchronize access to the collection.
public object SyncRoot { get; }
Implements:
Gets or sets the row at the specified index.
public RowElement this[int index] { get; set; }
The zero-based index of the row.
Property Value:The row at the specified index.
Implements:
Methods
Adds the specified row to the collection.
public int Add(RowElement value)
The row to add.
Returns:The zero-based index at which the row was added.
Implements:
Removes all rows from the collection.
public void Clear()
Implements:
Determines whether the specified row exists in the collection.
public bool Contains(RowElement value)
The row to locate.
Returns:true if the row is found; otherwise, false.
Implements:
Copies the elements of the collection to a typed array, starting at the specified index.
public void CopyTo(RowElement[] array, int index)
The destination array.
indexintThe zero-based index in the destination array at which copying begins.
Returns an enumerator that iterates through the collection.
public IEnumerator GetEnumerator()
An enumerator for the collection.
Implements:
Returns the zero-based index of the specified row.
public int IndexOf(RowElement value)
The row to locate.
Returns:The zero-based index of the row if found; otherwise, -1.
Implements:
Inserts a row at the specified index.
public void Insert(int index, RowElement value)
The zero-based index at which to insert the row.
valueRowElementThe row to insert.
Implements:
Removes the specified row from the collection.