# OneNoteListInfo

List marker metadata for a paragraph.

Class 

`OfficeIMO.OneNote`

**Namespace**

`OfficeIMO.OneNote`

**Assembly**

`OfficeIMO.OneNote`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OneNoteContent.cs:304](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L304)

**Modifiers**

sealed

List marker metadata for a paragraph.

## Inheritance

- object
- OneNoteListInfo

## 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 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 [OneNoteParagraph.List](/api/onenote/officeimo-onenote-onenoteparagraph/#property-list)

Filter members 

Show inherited

## Constructors

`public OneNoteListInfo()` [#](#constructor-ctor)

## 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 bool Ordered { get; set; }` [#](#property-ordered)

[OneNoteContent.cs:304](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L304)

Whether the list is ordered.

`public uint? Format { get; set; }` [#](#property-format)

[OneNoteContent.cs:307](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L307)

MS-ONE number-list format value.

`public int Level { get; set; }` [#](#property-level)

[OneNoteContent.cs:310](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L310)

Zero-based nesting level. Native writing accepts values from 0 through [OneNoteListInfo.MaxLevel](/api/onenote/officeimo-onenote-onenotelistinfo/).

`public bool Restart { get; set; }` [#](#property-restart)

[OneNoteContent.cs:313](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L313)

Whether numbering restarts at this item.

`public int? DisplayIndex { get; set; }` [#](#property-displayindex)

[OneNoteContent.cs:316](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L316)

Displayed list index when available.

`public string? FontFamily { get; set; }` [#](#property-fontfamily)

[OneNoteContent.cs:319](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L319)

Bullet or number font.

`public double? Spacing { get; set; }` [#](#property-spacing)

[OneNoteContent.cs:322](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L322)

Distance between the bullet or number and the item's text in half-inch units (0.2 to 20).

## Fields

`public const int MaxLevel` [#](#field-maxlevel)

[OneNoteContent.cs:299](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteContent.cs#L299)

Largest zero-based list level representable by the native one-byte child-level property.

Value: `254`

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