All pages
Powered by GitBook
1 of 1

Loading...

CheckedListBox.ObjectCollection

Wisej.Web.CheckedListBox ObjectCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

  • ObjectCollection

    • ObjectCollection

Represents the collection of items in a CheckedListBox.

Methods

Add(item)

Adds an item to the list of items for a .

Parameter
Type
Description

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

Throws:

  • The item parameter was null.

Add(item, isChecked)

Adds an item to the list of items for a .

Parameter
Type
Description

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

Throws:

  • The item parameter was null.

Add(item, check)

Adds an item to the list of items for a .

Parameter
Type
Description

Returns: .

AddRange(items)

Adds a collection of items to the list.

Parameter
Type
Description

Clear()

Removes all items from the control.

Insert(index, item)

Inserts an item into the collection at the specified index.

Parameter
Type
Description

Throws:

  • The item was null.

  • The index was less than zero; or the index was greater than the count of items in the collection.

Insert(index, item, check)

Inserts an item into the collection at the specified index.

Parameter
Type
Description

Throws:

  • The item was null.

  • The index was less than zero; or the index was greater than the count of items in the collection.

RemoveAt(index)

Removes an item from the at the specified index.

Parameter
Type
Description

Throws:

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

item

Object

An object representing the item to add to the collection.

item

Object

An object representing the item to add to the collection.

isChecked

Boolean

True to check the item.

item

Object

An object representing the item to add to the collection.

check

CheckState

The check state for the new item.

items

Object[]

Collection of items to add to the list.

index

Int32

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

item

Object

An object representing the item to insert.

index

Int32

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

item

Object

An object representing the item to insert.

check

CheckState

The check state for the new item.

index

Int32

The index of the item to remove.

Public Class ObjectCollection
    Inherits ObjectCollection
ListBox
Int32
ArgumentNullException
CheckedListBox
Int32
ArgumentNullException
CheckedListBox
Int32
CheckedListBox
ArgumentNullException
ArgumentOutOfRangeException
ArgumentNullException
ArgumentOutOfRangeException
ListBox
ArgumentOutOfRangeException
public class ObjectCollection : ObjectCollection