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.

Remarks

The item must be contained in a folder.

See Also