Method Update
Update(T)
Check if an item (collection equal to a given one) is in the set and if so replace the item object in the set with the supplied one.
Declaration
public virtual bool Update(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | The item object to update with |
Returns
Type | Description |
---|---|
System.Boolean | True if item was found (and updated) |
Implements
Update(T, out T)
Check if an item (collection equal to a given one) is in the set and if so replace the item object in the set with the supplied one.
Declaration
public virtual bool Update(T item, out T olditem)
Parameters
Type | Name | Description |
---|---|---|
T | item | The item object to update with |
T | olditem |
Returns
Type | Description |
---|---|
System.Boolean | True if item was found (and updated) |