Docs · API reference · Verso.Abstractions

NotebookFormatVersion Class#

Canonical version values and parsing for the .verso document schema. The format version is independent of the product/assembly version and is bumped only when the on-disk schema changes.

public static class NotebookFormatVersion

Inheritance System.Object → NotebookFormatVersion

Fields#

Current Field#

The format version this build reads and writes. Stamped onto every saved .verso document, and the version a freshly constructed NotebookModel carries.

public const string Current = "1.1";

Field Value#

System.String

Initial Field#

The version assumed for a document that carries no version field. Such files predate the version stamp and are treated as the earliest known format so the migration chain runs.

public const string Initial = "1.0";

Field Value#

System.String

Methods#

TryParse(string, Version) Method#

Parses a format version string such as "1.1" into a comparable System.Version. Returns false for null, blank, or malformed input.

public static bool TryParse(string? value, out System.Version version);

Parameters#

value System.String

version System.Version

Returns#

System.Boolean