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 |
NotImplementedException |
The ANSI file version editing is not implemented. |
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. |
See Also