FolderInfoDeleteChildItem Method

Deletes the item (folder or message) by it's entryId.

Namespace:  Aspose.Email.Storage.Pst
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public void DeleteChildItem(
	byte[] entryId
)

Parameters

entryId
Type: SystemByte
The entry id.
Exceptions
ExceptionCondition
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.
Remarks
The item must be contained in a folder.
See Also