Skip to content

Delegate OpenDelegate

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

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

public delegate Stream OpenDelegate(string entryName)

Parameters

entryName string

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

Returns

Stream

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)\)