You are here: Symbol Reference
Symbol Reference
> Ofcas.Lk.Api.Client.Core Namespace > Interfaces > ICoreObjectWithChildren<out TChild, TChildInfo> Interface
> ICoreObjectWithChildren<out TChild, TChildInfo> Methods > ICoreObjectWithChildren<out TChild, TChildInfo>.DeleteChild Method
Close
Ofcas.Lk.Api.Client - Version 3.0
ICoreObjectWithChildren<out TChild, TChildInfo>.DeleteChild Method

Deletes a child based on the given child info. If the given child info implements the interface ICoreInfoRecyclable and the child already is in the recycle bin (see ICoreInfoRecyclable.IsInRecycleBin), the child will be deleted permanently. Otherwise it will be moved to the recycle bin.

Syntax
C#
IResult DeleteChild(TChildInfo childInfo);
Parameters
Description
TChildInfo childInfo
The info of the child to be deleted.

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

Copyright © 2020. All rights reserved.