C# 클래스 Habanero.Faces.Win.ListBoxWin.ListBoxObjectCollectionWin

Represents the collection of items in a ListBox. This is an adapter class which simply wraps the Windows ObjectCollection (ListBox.Items)
상속: IListBoxObjectCollection
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

공개 메소드들

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

Adds an item to the list of items for a ListBox

Clear ( ) : void

Removes all items from the 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 businessObject ) : void
ListBoxObjectCollectionWin ( ObjectCollection items ) : System

Constructs the adapter

Remove ( object item ) : void

Removes the specified object from the collection

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 ListBox
public Add ( object item ) : void
item object An object representing the item to add to the collection
리턴 void

Clear() 공개 메소드

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

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() 공개 메소드

public Insert ( int index, object businessObject ) : void
index int
businessObject object
리턴 void

ListBoxObjectCollectionWin() 공개 메소드

Constructs the adapter
public ListBoxObjectCollectionWin ( ObjectCollection items ) : System
items ObjectCollection
리턴 System

Remove() 공개 메소드

Removes the specified object from the collection
public Remove ( object item ) : void
item object An object representing the item to remove from the collection
리턴 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