Class
WorkbookFormatProvidersCollection

Represents collection of IWorkbookFormatProvider.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class WorkbookFormatProvidersCollection : IList<IWorkbookFormatProvider>, ICollection<IWorkbookFormatProvider>, IEnumerable<IWorkbookFormatProvider>, IList, ICollection, IEnumerable

Inheritance: objectWorkbookFormatProvidersCollection

Implements: ICollectionICollection<IWorkbookFormatProvider>IEnumerableIEnumerable<IWorkbookFormatProvider>IListIList<IWorkbookFormatProvider>

Constructors

WorkbookFormatProvidersCollection()

Declaration

cs-api-definition
public WorkbookFormatProvidersCollection()

Properties

Count

Gets the number of elements contained in the collection.

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

Implements ICollection<IWorkbookFormatProvider>.Count

this[int]

Gets or sets the IWorkbookFormatProvider at the specified index.

Declaration

cs-api-definition
public IWorkbookFormatProvider this[int index] { get; set; }

Parameters

index

int

The index.

Property Value

IWorkbookFormatProvider

The IWorkbookFormatProvider.

Implements IList<IWorkbookFormatProvider>.this[int]

Methods

Add(IWorkbookFormatProvider)

Adds an item to the collection.

Declaration

cs-api-definition
public void Add(IWorkbookFormatProvider item)

Parameters

item

IWorkbookFormatProvider

The object to add to the collection.

Implements ICollection<IWorkbookFormatProvider>.Add(IWorkbookFormatProvider)

Clear()

Removes all items from the collection.

Declaration

cs-api-definition
public void Clear()

Implements ICollection<IWorkbookFormatProvider>.Clear()

Contains(IWorkbookFormatProvider)

Determines whether the collection contains a specific value.

Declaration

cs-api-definition
public bool Contains(IWorkbookFormatProvider item)

Parameters

item

IWorkbookFormatProvider

The object to locate in the collection.

Returns

bool

true if item is found in the collection; otherwise, false.

Implements ICollection<IWorkbookFormatProvider>.Contains(IWorkbookFormatProvider)

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

cs-api-definition
public IEnumerator<IWorkbookFormatProvider> GetEnumerator()

Returns

IEnumerator<IWorkbookFormatProvider>

An enumerator that can be used to iterate through the collection.

Implements IEnumerable<IWorkbookFormatProvider>.GetEnumerator()

IndexOf(IWorkbookFormatProvider)

Determines the index of a specific item in the collection.

Declaration

cs-api-definition
public int IndexOf(IWorkbookFormatProvider item)

Parameters

item

IWorkbookFormatProvider

The object to locate in the collection.

Returns

int

The index of item if found in the collection; otherwise, -1.

Implements IList<IWorkbookFormatProvider>.IndexOf(IWorkbookFormatProvider)

Insert(int, IWorkbookFormatProvider)

Inserts an item to the collection at the specified index.

Declaration

cs-api-definition
public void Insert(int index, IWorkbookFormatProvider item)

Parameters

index

int

The zero-based index at which item should be inserted.

item

IWorkbookFormatProvider

The object to insert into the IList<T>.

Implements IList<IWorkbookFormatProvider>.Insert(int, IWorkbookFormatProvider)

Remove(IWorkbookFormatProvider)

Removes the first occurrence of a specific object from the collection.

Declaration

cs-api-definition
public bool Remove(IWorkbookFormatProvider item)

Parameters

item

IWorkbookFormatProvider

The object to remove from the collection.

Returns

bool

true if item was successfully removed from the collection; otherwise, false. This method also returns false if item is not found in the original collection.

Implements ICollection<IWorkbookFormatProvider>.Remove(IWorkbookFormatProvider)

RemoveAt(int)

Removes the item at the specified index.

Declaration

cs-api-definition
public void RemoveAt(int index)

Parameters

index

int

The zero-based index of the item to remove.

Implements IList<IWorkbookFormatProvider>.RemoveAt(int)