DomainUpDown.DomainUpDownItemCollection

Wisej.Web.DomainUpDown DomainUpDownItemCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Encapsulates a collection of objects for use by the DomainUpDown class.

public class DomainUpDownItemCollection : IList, ICollection, IEnumerable

Properties

Int32: Returns the number of items in the collection.

Boolean: Returns a value indicating whether this collection can be modified.

Object: Retrieves the item at the specified index within the collection.

Throws:

Methods

Adds an object to the end of the collection.

ParameterTypeDescription

item

The Object to be added to the end of the collection. The value can be null.

Returns: Int32. The index at which the item has been added.

Adds a collection of objects to the end of the collection.

ParameterTypeDescription

items

Items to add to the end of the collection.

Removes all items from the DomainUpDown control.

Determines if the specified item is located within the collection.

ParameterTypeDescription

item

An object representing the item to locate in the collection.

Returns: Boolean. true if the item is located within the collection; otherwise, false.

Returns an enumerator that can be used to iterate through the item collection.

Returns: IEnumerator. A IEnumerator that represents the item collection.

Retrieves the index within the collection of the specified item.

ParameterTypeDescription

item

An object representing the item to locate in the collection.

Returns: Int32. The zero-based index where the item is located within the collection; otherwise, -1.

Throws:

Inserts an element into the collection at the specified index.

ParameterTypeDescription

index

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

item

The Object to insert. The value can be null.

Throws:

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

ParameterTypeDescription

item

The Object to remove from the collection. The value can be null.

Removes the element at the specified index of the collection.

ParameterTypeDescription

index

The zero-based index of the element to remove.

Throws:

Last updated