public function deleteObject()
    {
        $qry = new DeleteEntityQuery($this);
        $this->getContext()->addQuery($qry);
        $this->removeFromParentCollection();
    }
public function deleteObject()
    {
        $qry = new DeleteEntityQuery($this);
        $this->getContext()->addQuery($qry);
        $this->removeFromParentCollection();
    }
public function deleteObject ( ) { $ qry = new DeleteEntityQuery ( $ this ) ; $ this -> getContext ( ) -> addQuery ( $ qry ) ; $ this -> removeFromParentCollection ( ) ; }
The recommended way to delete a list is to send a DELETE request to the List resource endpoint, as shown in List request examples.
The recommended way to delete a list is to send a DELETE request to the List resource endpoint as shown in List request examples .