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

Definition

Namespace:Telerik.WinControls.UI.Export.ExcelML

Assembly:TelerikData.dll

Syntax:

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

Inheritance: objectRowsCollection

Implements: ICollectionIEnumerableIListIRowsCollection

Constructors

C#
public RowsCollection()
C#
public RowsCollection(IList list)
Parameters:listIList

Properties

C#
public int Count { get; }
C#
public virtual bool IsFixedSize { get; }
C#
public virtual bool IsReadOnly { get; }
C#
public bool IsSynchronized { get; }
C#
public object SyncRoot { get; }

Gets or sets the row element at the specified index.

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

The zero-based index of the row element to get or set.

Property Value:

The row element at the specified index.

Implements: IRowsCollection.this[int]

Methods

Adds a row element to the collection.

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

The row element to add.

Returns:

int

The zero-based index at which the row is inserted.

Implements: IRowsCollection.Add(RowElement)

C#
public virtual void Clear()

Determines whether the collection contains the specified row element.

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

The row element to locate.

Returns:

bool

true if the row is found; otherwise, false.

Implements: IRowsCollection.Contains(RowElement)

Copies the row elements to an 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.

Implements: IRowsCollection.CopyTo(RowElement[], int)

C#
public virtual IEnumerator GetEnumerator()
Returns:

IEnumerator

Returns the zero-based index of the specified row element.

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

The row element to locate.

Returns:

int

The zero-based index of the row element, or -1 if it is not found.

Implements: IRowsCollection.IndexOf(RowElement)

Inserts a row element at the specified index.

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

The zero-based index at which the row is inserted.

valueRowElement

The row element to insert.

Implements: IRowsCollection.Insert(int, RowElement)

Removes the specified row element from the collection.

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

The row element to remove.

Implements: IRowsCollection.Remove(RowElement)

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