# OneNoteStorageFormat

Identifies the physical encoding used by a OneNote artifact.

Enum 

`OfficeIMO.OneNote`

**Namespace**

`OfficeIMO.OneNote`

**Assembly**

`OfficeIMO.OneNote`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OneNoteFormat.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/OneNoteFormat.cs#L20)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Identifies the physical encoding used by a OneNote artifact.

## Inheritance

- Enum
- OneNoteStorageFormat

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Read and Edit OneNote Files](/docs/onenote/) Guide
  
  Open OneNote .one section files offline in .NET, list pages and their text, add notes, lists and tags, and create new sections without OneNote, Graph or COM.

## Usage

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

- Property [OneNoteFileHeader.StorageFormat](/api/onenote/officeimo-onenote-onenotefileheader/#property-storageformat)
- Property [OneNoteNotebook.TableOfContentsStorageFormat](/api/onenote/officeimo-onenote-onenotenotebook/#property-tableofcontentsstorageformat)
- Property [OneNoteSaveOptions.StorageFormat](/api/onenote/officeimo-onenote-onenotesaveoptions/#property-storageformat)
- Property [OneNoteSection.StorageFormat](/api/onenote/officeimo-onenote-onenotesection/#property-storageformat)
- Property [OneNoteSectionGroup.TableOfContentsStorageFormat](/api/onenote/officeimo-onenote-onenotesectiongroup/#property-tableofcontentsstorageformat)
- Field [OneNoteStorageFormat.FileSynchronizationPackage](/api/onenote/officeimo-onenote-onenotestorageformat/#field-filesynchronizationpackage)
- Field [OneNoteStorageFormat.NotebookPackage](/api/onenote/officeimo-onenote-onenotestorageformat/#field-notebookpackage)
- Field [OneNoteStorageFormat.RevisionStore](/api/onenote/officeimo-onenote-onenotestorageformat/#field-revisionstore)
- Field [OneNoteStorageFormat.Unknown](/api/onenote/officeimo-onenote-onenotestorageformat/#field-unknown)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const OneNoteStorageFormat Unknown` [#](#field-unknown)

[OneNoteFormat.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/OneNoteFormat.cs#L22)

The physical encoding could not be classified.

Value: `0`

`public const OneNoteStorageFormat RevisionStore` [#](#field-revisionstore)

[OneNoteFormat.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/OneNoteFormat.cs#L24)

The desktop MS-ONESTORE revision-store encoding.

Value: `1`

`public const OneNoteStorageFormat FileSynchronizationPackage` [#](#field-filesynchronizationpackage)

[OneNoteFormat.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/OneNoteFormat.cs#L26)

The MS-FSSHTTPB data-element package encoding used for server-backed files.

Value: `2`

`public const OneNoteStorageFormat NotebookPackage` [#](#field-notebookpackage)

[OneNoteFormat.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/OneNoteFormat.cs#L28)

The notebook archive encoding used by .onepkg files.

Value: `3`

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