You are here: Symbol Reference
Symbol Reference
> Ofcas.Lk.Api.Client.Ui Namespace > Interfaces > IProjectCenterUi Interface > IProjectCenterUi Methods > IProjectCenterUi.DeleteChild Method
Close
Ofcas.Lk.Api.Client - Version 3.0
IProjectCenterUi.DeleteChild Method

Deletes a project based on the project info. During the deletion process, user interfaces can be displayed inside this method for further control. If the project already is in the recycle bin (see IBaseProjectInfo.IsInRecycleBin), the project will be deleted permanently. Otherwise the project will be moved to the recycle bin. You can use ForceDeleteChild or ForceDeleteChildren if a project is not in the recycle bin and should be deleted permanently on the first call.

Syntax
C#
new IResult DeleteChild(IBaseProjectInfo projectInfo);
Parameters
Description
IBaseProjectInfo projectInfo
The info of the project to be deleted.

Returns an IResult with an OperationCode. If the OperationCode was accepted, the project was deleted.

Copyright © 2020. All rights reserved.