FolderInfo.DeleteChildItem
FolderInfo.DeleteChildItem method
Deletes the item (folder or message) by it’s entryId.
public void DeleteChildItem(byte[] entryId)
Parameter | Type | Description |
---|---|---|
entryId | Byte[] | The entry id. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | throws, if entryId is null. |
InvalidOperationException | throws, if the item doesn’t belong to the folder or the item can’t be deleted or entryID has the incorrect value. |
InvalidOperationException | throws, if a PST is open for reading only. |
NotImplementedException | Thrown when attempting to edit the ANSI file version. |
Remarks
The item must be contained in a folder.
See Also
- class FolderInfo
- namespace Aspose.Email.Storage.Pst
- assembly Aspose.Email