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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.