Click or drag to resize

IProjectContainsItem Method

Tests if the project item given in the argument is already contained in this document.

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

Parameters

item  IProjectItem
The item to test.

Return Value

Boolean
True if the item is already contained in the document, otherwise false.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem
ArgumentOutOfRangeExceptionThe type of item is not yet considered here.
See Also