Метод | Описание | |
---|---|---|
Add ( |
Add a new element to the collection. If there is already a element with the same name in the collection it will be overridden
|
|
Clear ( ) : void |
Removes all items from the collection
|
|
IndexOf ( |
Returns the position of the specific ServerElement
|
|
Remove ( |
Remove a element from the collection
|
|
Remove ( string name ) : void |
Remove a item with the specific name
|
|
RemoveAt ( int index ) : void |
Remove a element at the specific position
|
|
this ( int index ) : |
Returns the ServerElement at the specific position
|
|
this ( string name ) : |
Returns the ServerElement with the specific name
|
Метод | Описание | |
---|---|---|
BaseAdd ( |
||
CreateNewElement ( ) : |
Creates a new empty ServerElement (same as using the default constructor)
|
|
CreateNewElement ( string elementName ) : |
||
GetElementKey ( |
Get the key = the name of a item
|
public Add ( |
||
element | ||
Результат | void |
protected BaseAdd ( |
||
element | ||
Результат | void |
protected CreateNewElement ( ) : |
||
Результат |
protected CreateNewElement ( string elementName ) : |
||
elementName | string | |
Результат |
protected GetElementKey ( |
||
element | ||
Результат | Object |
public IndexOf ( |
||
element | The element whish should be looked up | |
Результат | int |
public Remove ( |
||
element | The element which should be removed | |
Результат | void |
public Remove ( string name ) : void | ||
name | string | The name of the item |
Результат | void |
public RemoveAt ( int index ) : void | ||
index | int | The position of the item |
Результат | void |
public this ( int index ) : |
||
index | int | The position of the ServerElement in this collection |
Результат |
public this ( string name ) : |
||
name | string | The name of the ServerElement |
Результат |