DeleteItem Method
Deletes an item permanently.
Object Oriented Interface
public function doDeleteItem($itemid);
Procedural Interface
ipworkscloud_sharefile_do_deleteitem($res, $itemid);
Remarks
This method deletes the item specified by ItemId permanently. Must call ListItems before the Item* properties property will be updated.
// Deletes the first item. shareFile.ListItems(); string ItemId = shareFile.Items[0].Id; shareFile.DeleteItem(ItemId);