You are here: Symbol Reference
Symbol Reference
> Ofcas.Lk.Api.Client.Core Namespace > Interfaces > IPhase Interface
> IPhase Methods > IPhase.DeleteChildren Method
Close
Ofcas.Lk.Api.Client - Version 3.0.2
IPhase.DeleteChildren Method

Delete elevations based on the given elevation infos. The elevations will be deleted without user interaction. If an elevation already is in the recycle bin (see IElevationInfo.IsInRecycleBin), the elevation will be deleted permanently. Otherwise the elevation will be moved to the recycle bin. You can use ForceDeleteChild or ForceDeleteChildren if an elevation is not in the recycle bin and should be deleted permanently on the first call.

Syntax
C#
IDeleteChildrenResult DeleteChildren(IEnumerable<IElevationInfo> elevationInfos);
Parameters
Description
IEnumerable<IElevationInfo> elevationInfos
The elevation infos of the elevations to be deleted.

Returns an IDeleteChildrenResult with an OperationCode.

Copyright © 2022. All rights reserved.