# IWorkPackageEntry

One preserved file entry from an iWork package or bundle.

Class 

`OfficeIMO.IWork`

**Namespace**

`OfficeIMO.IWork`

**Assembly**

`OfficeIMO.IWork`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[IWorkPackageEntry.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkPackageEntry.cs#L17)

**Modifiers**

sealed

One preserved file entry from an iWork package or bundle.

## Inheritance

- object
- IWorkPackageEntry

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [IWorkSourceDocument.Entries](/api/iwork/officeimo-iwork-iworksourcedocument/#property-entries)

Filter members 

Show inherited

## Methods

`public byte[] GetBytes()` [#](#method-getbytes)

[IWorkPackageEntry.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkPackageEntry.cs#L17)

Returns a defensive copy of the preserved entry bytes.

Returns

`byte[]`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Path { get; }` [#](#property-path)

[IWorkPackageEntry.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkPackageEntry.cs#L13)

Gets the normalized package-relative path.

`public int Length { get; }` [#](#property-length)

[IWorkPackageEntry.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkPackageEntry.cs#L15)

Gets the uncompressed entry length.

<!-- PowerForge markdown artifact sha256:0F70657A5F769DE80C8B9EA18CB0A9A64AB323B31F6DCE12A80E36E7111ACB4D -->
