[Connect up.4 NET.API] Modify/Delete cell subelement

Hi,

I would like to delete/modify cell subelement.

This is my code so far.

                  CellHeaderElement cell = (CellHeaderElement)element.ParentElement;

                    CellQuery oCellQuery = cell.AsCellQuery();
                    bool res1 = oCellQuery.IsEffectivelyLocked(true,true);

                    bool result= oCellQuery.ExposeChildren(ExposeChildrenReason.Edit);
                    ChildElementCollection oComponents = oCellQuery.GetChildren ();
                    Element child = oComponents.ElementAt(0);
                    bool res2=child.IsValid;
                 
                         ???????????????????????????????? How to remove child from cell?                   
                    oCellQuery.ReplaceInModel (cell);

thanks

Nenad