Delen via


ZipArchiveEntry.Delete Method

Deletes the entry from the archive.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Sub Delete
public void Delete()
public:
void Delete()
member Delete : unit -> unit
public function Delete()

Exceptions

Exception Condition
IOException

The entry is already open for reading or writing.

NotSupportedException

The ZipArchive that this entry belongs to was opened in a mode other than ZipArchiveMode.Update.

ObjectDisposedException

The ZipArchive that this entry belongs to has been disposed.

.NET Framework Security

See Also

Reference

ZipArchiveEntry Class

Microsoft.TeamFoundation.Server.Core Namespace