Click or drag to resize

ProjectCloneControllerDeleteClone Method

Deletes the clone with id specified and reparents the child clones to the parent of the clone specified. Assumes the clones to delete aren't the active clone. If toDelete is the root, false is returned. The files of the clone are removed from the clones folder.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public bool DeleteClone(
	string projectPathFilename,
	int id,
	bool deleteChildren
)

Parameters

projectPathFilename
Type: SystemString
id
Type: SystemInt32
id of clone to delete
deleteChildren
Type: SystemBoolean
if true, also deletes all (indirect) children

Return Value

Type: Boolean
true if the clone was successfully deleted, false otherwise
See Also