New to Telerik UI for WinForms? Start a free 30-day trial

Represents a collection of RowElement items used by the CSV export pipeline.

Definition

Namespace:Telerik.WinControls.UI.Export.CSV

Assembly:TelerikData.dll

Syntax:

C#
public class RowsCollection : IRowsCollection, IList, ICollection, IEnumerable

Inheritance: objectRowsCollection

Implements: ICollectionIEnumerableIListIRowsCollection

Constructors

Initializes a new instance of the RowsCollection class.

C#
public RowsCollection()

Properties

Gets the number of elements contained in the collection.

C#
public int Count { get; }

Implements: ICollection.Count

Gets a value indicating whether the collection has a fixed size.

C#
public bool IsFixedSize { get; }

Implements: IList.IsFixedSize

Gets a value indicating whether the collection is read-only.

C#
public bool IsReadOnly { get; }

Implements: IList.IsReadOnly

Gets a value indicating whether access to the collection is synchronized.

C#
public bool IsSynchronized { get; }

Implements: ICollection.IsSynchronized

Gets an object that can be used to synchronize access to the collection.

C#
public object SyncRoot { get; }

Implements: ICollection.SyncRoot

Gets or sets the row at the specified index.

C#
public RowElement this[int index] { get; set; }
Parameters:indexint

The zero-based index of the row.

Property Value:

The row at the specified index.

Implements: IRowsCollection.this[int]

Methods

Adds the specified row to the collection.

C#
public int Add(RowElement value)
Parameters:valueRowElement

The row to add.

Returns:

int

The zero-based index at which the row was added.

Implements: IRowsCollection.Add(RowElement)

Removes all rows from the collection.

C#
public void Clear()

Implements: IList.Clear()

Determines whether the specified row exists in the collection.

C#
public bool Contains(RowElement value)
Parameters:valueRowElement

The row to locate.

Returns:

bool

true if the row is found; otherwise, false.

Implements: IRowsCollection.Contains(RowElement)

Copies the elements of the collection to an array, starting at the specified index.

C#
public void CopyTo(Array array, int index)
Parameters:arrayArray

The destination array.

indexint

The zero-based index in the destination array at which copying begins.

Implements: ICollection.CopyTo(Array, int)

Copies the elements of the collection to a typed array, starting at the specified index.

C#
public void CopyTo(RowElement[] array, int index)
Parameters:arrayRowElement[]

The destination array.

indexint

The zero-based index in the destination array at which copying begins.

Returns an enumerator that iterates through the collection.

C#
public IEnumerator GetEnumerator()
Returns:

IEnumerator

An enumerator for the collection.

Implements: IEnumerable.GetEnumerator()

Returns the zero-based index of the specified row.

C#
public int IndexOf(RowElement value)
Parameters:valueRowElement

The row to locate.

Returns:

int

The zero-based index of the row if found; otherwise, -1.

Implements: IRowsCollection.IndexOf(RowElement)

Inserts a row at the specified index.

C#
public void Insert(int index, RowElement value)
Parameters:indexint

The zero-based index at which to insert the row.

valueRowElement

The row to insert.

Implements: IRowsCollection.Insert(int, RowElement)

Removes the specified row from the collection.

C#
public void Remove(RowElement value)
Parameters:valueRowElement

The row to remove.

Implements: IRowsCollection.Remove(RowElement)

C#
public void RemoveAt(int index)
Parameters:indexint

Implements: IList.RemoveAt(int)