ProjectBaseTryGetExistingItemWithSameTypeAndName(Type, String, IProjectItem) 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.3618.0 (4.8.3618.0)
Syntaxpublic bool TryGetExistingItemWithSameTypeAndName(
Type projectItemType,
string projectItemName,
out IProjectItem existingItem
)
Parameters
- projectItemType Type
- The type of the project item to test for.
- projectItemName String
- The name of the project 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.
See Also