Метод | Описание | |
---|---|---|
Add ( object value ) : int |
Adds to the end of the list, replacing any item with the same ID, or bumping the oldest item if the list is full.
|
|
ItemList ( |
Creates an item list, which will have at most some number of items.
|
|
RemoveAt ( int index ) : void |
Makes sure that the underlying ID index is in sync when an item is removed.
|
|
RemoveId ( string id ) : void |
Removes the item with the given ID. No exception is thrown if no item is found with that ID.
|
|
this ( string id ) : |
Gets or sets the contents of the specified item.
|
public Add ( object value ) : int | ||
value | object | PubSubItem to add to the list. |
Результат | int |
public ItemList ( |
||
node | The node to which this item list applies. | |
maxItems | int | Maximum size of the list. Delete notifications will be sent if this size is exceeded. |
Результат | System |
public RemoveAt ( int index ) : void | ||
index | int | Index of PubSubItem to remove. |
Результат | void |
public RemoveId ( string id ) : void | ||
id | string | ID of the item to remove |
Результат | void |
public this ( string id ) : |
||
id | string | Id of the PubSubItem. |
Результат |