ProjectBaseTryGetExistingItemWithSameTypeAndName Method |
Tries to get an existing project item with the same type and name as the provided item.
Namespace: Altaxo.MainAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public bool TryGetExistingItemWithSameTypeAndName(
IProjectItem item,
out IProjectItem existingItem
)
Parameters
- item IProjectItem
- The item to test for.
- existingItem IProjectItem
- If an item with the same type and name as the provided item exists in the project, that existing item is returned.
Return Value
BooleanTrue if an item with the same type and name as the provided item exists in the project; otherwise, false.
Exceptions See Also