ProjectItemCollectionBaseTItemExchange Method |
Replaces the old item with a new item while keeping the item's index.
Namespace: Altaxo.MainAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public virtual void Exchange(
TItem oldItem,
TItem newItem
)
Parameters
- oldItem TItem
- The old item. This item has to be part of the collection.
- newItem TItem
- The item that replaces the old item.
See Also