CheckedListBox.ObjectCollection

Wisej.Web.CheckedListBox ObjectCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents the collection of items in a CheckedListBox.

public class ObjectCollection : ObjectCollection

Methods

Adds an item to the list of items for a ListBox.

ParameterTypeDescription

item

An object representing the item to add to the collection.

Returns: Int32. The zero-based index of the item in the collection.

Throws:

Adds an item to the list of items for a CheckedListBox.

ParameterTypeDescription

item

An object representing the item to add to the collection.

isChecked

True to check the item.

Returns: Int32. The zero-based index of the item in the collection.

Throws:

Adds an item to the list of items for a CheckedListBox.

ParameterTypeDescription

item

An object representing the item to add to the collection.

check

The check state for the new item.

Returns: Int32.

Adds a collection of items to the list.

ParameterTypeDescription

items

Collection of items to add to the list.

Removes all items from the CheckedListBox control.

Inserts an item into the collection at the specified index.

ParameterTypeDescription

index

The zero-based index location where the item is inserted.

item

An object representing the item to insert.

Throws:

Inserts an item into the collection at the specified index.

ParameterTypeDescription

index

The zero-based index location where the item is inserted.

item

An object representing the item to insert.

check

The check state for the new item.

Throws:

Removes an item from the ListBox at the specified index.

ParameterTypeDescription

index

The index of the item to remove.

Throws:

  • ArgumentOutOfRangeException The index parameter was less than zero, or the index parameter was greater than or equal to the count of items in the collection.

Last updated