# OneNoteRevisionStoreReader

Reads the validated physical revision-store graph of desktop .one and .onetoc2 files.

Class 

`OfficeIMO.OneNote`

**Namespace**

`OfficeIMO.OneNote`

**Assembly**

`OfficeIMO.OneNote`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OneNoteRevisionStoreReader.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Reading/OneNoteRevisionStoreReader.cs#L7)

**Modifiers**

static

Reads the validated physical revision-store graph of desktop .one and .onetoc2 files.

## Inheritance

- object
- OneNoteRevisionStoreReader

Filter members 

Show inherited

## Methods

Read 2 overloads

`public static OneNoteRevisionStore Read(string path, OneNoteLoadOptions? options = null)` [#](#method-read-string-officeimo-onenote-onenoteloadoptions)

[OneNoteRevisionStoreReader.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Reading/OneNoteRevisionStoreReader.cs#L7)

Reads the root revision-store structures from a file path.

Parameters

**path string required**

**options OfficeIMO.OneNote.OneNoteLoadOptions? = null optional**

Returns

`OneNoteRevisionStore`

`public static OneNoteRevisionStore Read(Stream stream, OneNoteLoadOptions? options = null)` [#](#method-read-io-stream-officeimo-onenote-onenoteloadoptions)

[OneNoteRevisionStoreReader.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Reading/OneNoteRevisionStoreReader.cs#L21)

Reads the root revision-store structures from a caller-owned seekable stream and restores its original position.

Parameters

**stream System.IO.Stream required**

**options OfficeIMO.OneNote.OneNoteLoadOptions? = null optional**

Returns

`OneNoteRevisionStore`

## 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?`

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