# OneNoteFileChunkReference

A file offset and byte count from an MS-ONESTORE header.

Struct 

`OfficeIMO.OneNote`

**Namespace**

`OfficeIMO.OneNote`

**Assembly**

`OfficeIMO.OneNote`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OneNoteFileHeader.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Reading/OneNoteFileHeader.cs#L54)

**Base**

`ValueType`

**Modifiers**

sealed

A file offset and byte count from an MS-ONESTORE header.

## Inheritance

- ValueType
- OneNoteFileChunkReference

## Usage

Explore 5 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 5

- Property [OneNoteFileHeader.FreeChunkList](/api/onenote/officeimo-onenote-onenotefileheader/#property-freechunklist)
- Property [OneNoteFileHeader.HashedChunkList](/api/onenote/officeimo-onenote-onenotefileheader/#property-hashedchunklist)
- Property [OneNoteFileHeader.RootFileNodeList](/api/onenote/officeimo-onenote-onenotefileheader/#property-rootfilenodelist)
- Property [OneNoteFileHeader.TransactionLog](/api/onenote/officeimo-onenote-onenotefileheader/#property-transactionlog)
- Property [OneNoteFileNodeListFragment.NextFragment](/api/onenote/officeimo-onenote-onenotefilenodelistfragment/#property-nextfragment)

Filter members 

Show inherited

## Methods

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

[OneNoteFileHeader.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Reading/OneNoteFileHeader.cs#L54)

Returns the fully qualified type name of this instance.

Returns

`string` The fully qualified type name.

## Inherited Methods

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

Inherited from ValueType

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from ValueType

Returns

`int`

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

Inherited from object

Returns

`Type`

## Properties

`public ulong Offset { get; }` [#](#property-offset)

[OneNoteFileHeader.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Reading/OneNoteFileHeader.cs#L42)

Unsigned byte offset from the start of the file.

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

[OneNoteFileHeader.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Reading/OneNoteFileHeader.cs#L45)

Referenced byte count.

`public bool IsZero { get; }` [#](#property-iszero)

[OneNoteFileHeader.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Reading/OneNoteFileHeader.cs#L48)

True when both the offset and byte count are zero.

`public bool IsNil { get; }` [#](#property-isnil)

[OneNoteFileHeader.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Reading/OneNoteFileHeader.cs#L51)

True when the offset is all bits set and the byte count is zero.

<!-- PowerForge markdown artifact sha256:E373532902A3FE829C28A282F4D9AC88B68DBFEF2AF23B26D741BB72738F80C1 -->
