Skip to content

Delegate CloseDelegate

Namespace: OfficeOpenXml.Packaging.Ionic.Zip
Assembly: EPPlus.dll

Delegate in which the application closes the stream, just-in-time, for the named entry.

public delegate void CloseDelegate(string entryName, Stream stream)

Parameters

entryName string

The name of the ZipEntry that the application should close the stream for.

stream Stream

The stream to be closed.

Remarks

When you add an entry via AddEntry(string, OpenDelegate, CloseDelegate), the application code provides the logic that opens and closes the stream for the given ZipEntry.

See Also

ZipFile.AddEntry\([string](https://learn.microsoft.com/dotnet/api/system.string), [OpenDelegate](OfficeOpenXml.Packaging.Ionic.Zip.OpenDelegate.md), [CloseDelegate](OfficeOpenXml.Packaging.Ionic.Zip.CloseDelegate.md)\)