Свойство | Тип | Описание | |
---|---|---|---|
ClearAllItems | void | ||
ICollection | void |
Метод | Описание | |
---|---|---|
Add ( object item ) : int |
Add an item to the collection and the display.
|
|
AddRange ( IEnumerable items ) : void |
Add a whole collection of objects.
|
|
CheckDisposed ( ) : void |
Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
|
|
Clear ( ) : void |
Clear all items. Enhance JohnT: add the version that takes an ObjectCollection. |
|
Contains ( object item ) : bool |
See if the item is present.
|
|
Dispose ( ) : void |
Must not be virtual. |
|
GetEnumerator ( ) : IEnumerator |
Get an enumerator for the list.
|
|
IndexOf ( object item ) : int |
Find the zero-based position of the item, or -1 if not found.
|
|
Insert ( int index, object item ) : void |
Insert the specified item at the specified position.
|
|
ObjectCollection ( IFwListBox owner ) : System |
Construct empty.
|
|
ObjectCollection ( IFwListBox owner, object values ) : System |
Construct with supplied initial items.
|
|
Remove ( object item ) : void |
|
|
RemoveAt ( int index ) : void |
|
|
this ( int index ) : object |
Indexer. Set must modify the display.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Executes in two distinct scenarios. 1. If disposing is true, the method has been called directly or indirectly by a user's code via the Dispose method. Both managed and unmanaged resources can be disposed. 2. If disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference (access) other managed objects, as they already have been garbage collected. Only unmanaged resources can be disposed. If any exceptions are thrown, that is fine. If the method is being done in a finalizer, it will be ignored. If it is thrown by client code calling Dispose, it needs to be handled by fixing the bug. If subclasses override this method, they should call the base implementation. |
|
InsertItemAtIndex ( int index, object item ) : void |
Shared function for Insert and Add.
|
Метод | Описание | |
---|---|---|
ClearAllItems ( ) : void | ||
ICollection ( |
Copy to a destination array.
|
public AddRange ( IEnumerable items ) : void | ||
items | IEnumerable | |
Результат | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public Insert ( int index, object item ) : void | ||
index | int | |
item | object | |
Результат | void |
protected InsertItemAtIndex ( int index, object item ) : void | ||
index | int | |
item | object | |
Результат | void |
public ObjectCollection ( IFwListBox owner ) : System | ||
owner | IFwListBox | |
Результат | System |
public ObjectCollection ( IFwListBox owner, object values ) : System | ||
owner | IFwListBox | |
values | object | |
Результат | System |