Delegate OpenDelegate
Delegate in which the application opens the stream, just-in-time, for the named entry.
Namespace: OfficeOpenXml.Packaging.Ionic.Zip
Assembly: EPPlus.dll
Syntax
public delegate Stream OpenDelegate(string entryName);
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | entryName | The name of the ZipEntry that the application should open the stream for. |
Returns
| Type | Description |
|---|---|
| System.IO.Stream |
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)