Click or drag to resize

IProjectAddItemWithThisOrModifiedName Method

Adds the provided project item to the Altaxo project, for instance a table or a graph, to the project. If another project item with the same name already exists, a new unique name for the item is found, based on the given name. For ProjectFolderPropertyDocuments, if a document with the same name is already present, the properties are merged.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
void AddItemWithThisOrModifiedName(
	IProjectItem item
)

Parameters

item  IProjectItem
The item to add.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem
ArgumentOutOfRangeExceptionThe type of item is not yet considered here.
See Also