FolderInfo.DeleteChildItems
FolderInfo.DeleteChildItems method
Deletes the child messages.
public void DeleteChildItems(IEnumerable<string> entryIdCollection)
Parameter | Type | Description |
---|
entryIdCollection | IEnumerable`1 | The entry id collection. |
Exceptions
exception | condition |
---|
InvalidOperationException | The PST is open for reading only. or The item, to be deleted, doesn’t belong to this folder. or The search folder cannot be deleted. or The \Deleted Items\ folder cannot be deleted. or The entryId is incorrect. |
ArgumentNullException | entryId;The entryId cannot be null. |
NotImplementedException | Thrown when attempting to edit the ANSI file version. |
See Also