Delegate CloseDelegate
Delegate in which the application closes the stream, just-in-time, for the named entry.
Namespace: OfficeOpenXml.Packaging.Ionic.Zip
Assembly: EPPlus.dll
Syntax
public delegate void CloseDelegate(string entryName, Stream stream);
Parameters
Type | Name | Description |
---|---|---|
System.String | entryName | The name of the ZipEntry that the application should close the stream for. |
System.IO.Stream | stream | The stream to be closed. |
Remarks
When you add an entry via OfficeOpenXml.Packaging.Ionic.Zip.ZipFile.AddEntry(System.String,OfficeOpenXml.Packaging.Ionic.Zip.OpenDelegate,OfficeOpenXml.Packaging.Ionic.Zip.CloseDelegate), the application code provides the logic that opens and closes the stream for the given ZipEntry.
See Also
OfficeOpenXml.Packaging.Ionic.Zip.ZipFile.AddEntry(System.String,OfficeOpenXml.Packaging.Ionic.Zip.OpenDelegate,OfficeOpenXml.Packaging.Ionic.Zip.CloseDelegate)