PersonalStorage.DeleteItem

PersonalStorage.DeleteItem method

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

public void DeleteItem(string entryId)
ParameterTypeDescription
entryIdString

Exceptions

exceptioncondition
NotImplementedExceptionthrows, if a PST file version is ANSI.
ArgumentNullExceptionthrows, if entryId is null.
InvalidOperationExceptionthrows, when trying to delete the root folder

See Also