Click or drag to resize

ProjectItemCollectionBaseTItemExchange Method

Replaces the old item with a new item while keeping the item's index.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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