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 WorksheetCollection : IWorksheetCollection, IList, ICollection, IEnumerable

Inheritance: objectWorksheetCollection

Implements: ICollectionIEnumerableIListIWorksheetCollection

Constructors

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

Properties

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

Gets or sets the worksheet element at the specified index.

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

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

Property Value:

The worksheet element at the specified index.

Implements: IWorksheetCollection.this[int]

Methods

Adds a worksheet element to the collection.

C#
public virtual int Add(WorksheetElement value)
Parameters:valueWorksheetElement

The worksheet element to add.

Returns:

int

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

Implements: IWorksheetCollection.Add(WorksheetElement)

C#
public virtual void Clear()

Determines whether the collection contains the specified worksheet element.

C#
public virtual bool Contains(WorksheetElement value)
Parameters:valueWorksheetElement

The worksheet element to locate.

Returns:

bool

true if the worksheet is found; otherwise, false.

Implements: IWorksheetCollection.Contains(WorksheetElement)

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

C#
public virtual void CopyTo(WorksheetElement[] array, int index)
Parameters:arrayWorksheetElement[]

The destination array.

indexint

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

Implements: IWorksheetCollection.CopyTo(WorksheetElement[], int)

C#
public virtual IEnumerator GetEnumerator()
Returns:

IEnumerator

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

C#
public virtual int IndexOf(WorksheetElement value)
Parameters:valueWorksheetElement

The worksheet element to locate.

Returns:

int

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

Implements: IWorksheetCollection.IndexOf(WorksheetElement)

Inserts a worksheet element at the specified index.

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

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

valueWorksheetElement

The worksheet element to insert.

Implements: IWorksheetCollection.Insert(int, WorksheetElement)

Removes the specified worksheet element from the collection.

C#
public virtual void Remove(WorksheetElement value)
Parameters:valueWorksheetElement

The worksheet element to remove.

Implements: IWorksheetCollection.Remove(WorksheetElement)

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