DomainUpDown.DomainUpDownItemCollection
Wisej.Web.DomainUpDown DomainUpDownItemCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Encapsulates a collection of objects for use by the DomainUpDown class.
public class DomainUpDownItemCollection : IList, ICollection, IEnumerable
Properties
Count

Int32: Returns the number of items in the collection.
IsReadOnly

Boolean: Returns a value indicating whether this collection can be modified.
Item(index)

Object: Retrieves the item at the specified index within the collection.
Throws:
ArgumentOutOfRangeException The index was less than zero; or the index was greater of equal to the count of items in the collection.
Methods
Add(item)

Adds an object to the end of the collection.
Returns: Int32. The index at which the item has been added.
AddRange(items)

Adds a collection of objects to the end of the collection.
Clear()

Removes all items from the DomainUpDown control.
Contains(item)

Determines if the specified item is located within the collection.
Returns: Boolean. true if the item is located within the collection; otherwise, false.
GetEnumerator()

Returns an enumerator that can be used to iterate through the item collection.
Returns: IEnumerator. A IEnumerator that represents the item collection.
IndexOf(item)

Retrieves the index within the collection of the specified item.
Returns: Int32. The zero-based index where the item is located within the collection; otherwise, -1.
Throws:
ArgumentNullException The item parameter was null.
Insert(index, item)

Inserts an element into the collection at the specified index.
Throws:
ArgumentOutOfRangeExceptionindex is less than zero, or index is greater than number of items in the collection.
Remove(item)

Removes the first occurrence of a specific object from the collection.
RemoveAt(index)

Removes the element at the specified index of the collection.
Throws:
ArgumentOutOfRangeExceptionindex is less than zero; or index is equal to or greater than number of items in the collection.
Last updated
Was this helpful?