Extracts the current file item into a byte array.

Namespace:  Rebex.IO.Compression
Assembly:  Rebex.Zip (in Rebex.Zip.dll)

Syntax

Visual Basic
Public Overrides Function ExtractToArray As Byte()
C#
public override byte[] ExtractToArray()

Return Value

A byte array that contains extracted data.

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionThe item is not a file. -or- The item is already deleted.
System..::..ObjectDisposedExceptionArchive was already disposed.
Rebex.IO.Compression..::..ZipExceptionCannot perform the requested operation, or the operation was canceled (see ProblemType for detailed information).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also