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.


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.


The item must be contained in a folder.

See Also