You are here: Symbol Reference
Symbol Reference
> Ofcas.Lk.Api.Client.Ui Namespace
Ofcas.Lk.Api.Client.Core Namespace
Ofcas.Lk.Api.Client.Core.Exceptions Namespace
Ofcas.Lk.Api.Client.Ui Namespace
Ofcas.Lk.Api.Shared Namespace
Ofcas.Lk.Api.Shared.Contracts.Responses Namespace
Files
> Interfaces
Classes
Interfaces
> IProjectCenterUi Interface
IElevationInstanceUi Interface
IElevationUi Interface
IFileHandlerUi Interface
ILoginScopeUi Interface
IPhaseUi Interface
IProjectCenterContainerUi Interface
IProjectCenterUi Interface
IProjectInformationContainerUi Interface
IProjectInformationUi Interface
IProjectUi Interface
IServiceProxyUi Interface
IServiceProxyUiResult Interface
> IProjectCenterUi Methods
IProjectCenterUi Methods
IProjectCenterUi Properties
> IProjectCenterUi.DeleteChildren Method
IProjectCenterUi.CanExportChild Method
IProjectCenterUi.CanExportChildren Method
CanImportChild Method
IProjectCenterUi.CanSetApplicationHandle Method
CreateChild Method
IProjectCenterUi.DeleteChild Method
IProjectCenterUi.DeleteChildren Method
IProjectCenterUi.ExportChild Method
IProjectCenterUi.ExportChildren Method
IProjectCenterUi.ForceDeleteChild Method
IProjectCenterUi.ForceDeleteChildren Method
IProjectCenterUi.GetChild Method
IProjectCenterUi.GetChildren Method
ImportChild Method
IProjectCenterUi.SetApplicationHandle Method
Close

Ofcas.Lk.Api.Client - Version 3.0 | Contents Index Home |

IProjectCenterUi.DeleteChildren Method
Send Feedback
Collapse All Expand All

Delete projects based on the given list of IBaseProjectInfo. During the deletion process, user interfaces can be displayed inside this method for further control. If a project already is in the recycle bin (see IProject.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 IDeleteChildrenResult DeleteChildren(IEnumerable<IBaseProjectInfo> projectInfos);
Parameters

Parameters | Description
IEnumerable<IBaseProjectInfo> projectInfos | The list of IBaseProjectInfo to be deleted.

Returns

Returns an IDeleteChildrenResult in which, for example, it is defined which projects have been moved to recycle bin or which projects have been deleted permanently.

Notes

only projects from a ProjectCenter-instance can be deleted. The recycle bin is a separate ProjectCenter-class that contains deleted projects. A mix is not possible. Therefore, the result of the operation can only be that all projects have been moved to the recycle bin or all projects have been permanently deleted.

Links
IProjectCenterUi Interface
Ofcas.Lk.Api.Client.Ui Namespace

Copyright © 2020. All rights reserved.
What do you think about this topic? Send feedback!