Share via


ZipArchiveEntry.Delete Method

Deletes the entry from the archive.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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.Framework.Server Namespace