C# 클래스 Habanero.Faces.Win.ComboBoxWin.ComboBoxObjectCollectionWin

Represents the collection of items in a ComboBox
상속: IComboBoxObjectCollection
파일 보기 프로젝트 열기: Chillisoft/habanero.faces

공개 메소드들

메소드 설명
Add ( object item ) : void

Adds an item to the list of items for a ComboBox

Clear ( ) : void

Removes all items from the ComboBox

ComboBoxObjectCollectionWin ( ObjectCollection items ) : System

Construct this wrapper collection

Contains ( object value ) : bool

Determines if the specified item is located within the collection

GetEnumerator ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

IndexOf ( object value ) : int

Retrieves the index within the collection of the specified item

Insert ( int index, object item ) : void

Inserts an item into the collection at the specified index.

Remove ( object item ) : void

Removes the specified item from the ComboBox

this ( int index ) : object

Retrieves the item at the specified index within the collection

메소드 상세

Add() 공개 메소드

Adds an item to the list of items for a ComboBox
public Add ( object item ) : void
item object An object representing the item to add to the collection
리턴 void

Clear() 공개 메소드

Removes all items from the ComboBox
public Clear ( ) : void
리턴 void

ComboBoxObjectCollectionWin() 공개 메소드

Construct this wrapper collection
public ComboBoxObjectCollectionWin ( ObjectCollection items ) : System
items ObjectCollection
리턴 System

Contains() 공개 메소드

Determines if the specified item is located within the collection
public Contains ( object value ) : bool
value object An object representing the item to locate in the collection
리턴 bool

GetEnumerator() 공개 메소드

Returns an enumerator that iterates through a collection.
public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

IndexOf() 공개 메소드

Retrieves the index within the collection of the specified item
public IndexOf ( object value ) : int
value object An object representing the item to locate in the collection
리턴 int

Insert() 공개 메소드

Inserts an item into the collection at the specified index.
The item was null The index was less than zero.-or- The index was greater than the count of items in the collection.
public Insert ( int index, object item ) : void
index int The zero-based index location where the item is inserted
item object An object representing the item to insert.
리턴 void

Remove() 공개 메소드

Removes the specified item from the ComboBox
public Remove ( object item ) : void
item object The System.Object to remove from the list
리턴 void

this() 공개 메소드

Retrieves the item at the specified index within the collection
public this ( int index ) : object
index int The index of the item in the collection to retrieve
리턴 object