Share via


Notebook Constructor

Definition

Initializes a new instance of Notebook.

public Notebook (Azure.Analytics.Synapse.Artifacts.Models.NotebookMetadata metadata, int notebookFormat, int notebookFormatMinor, System.Collections.Generic.IEnumerable<Azure.Analytics.Synapse.Artifacts.Models.NotebookCell> cells);
new Azure.Analytics.Synapse.Artifacts.Models.Notebook : Azure.Analytics.Synapse.Artifacts.Models.NotebookMetadata * int * int * seq<Azure.Analytics.Synapse.Artifacts.Models.NotebookCell> -> Azure.Analytics.Synapse.Artifacts.Models.Notebook
Public Sub New (metadata As NotebookMetadata, notebookFormat As Integer, notebookFormatMinor As Integer, cells As IEnumerable(Of NotebookCell))

Parameters

metadata
NotebookMetadata

Notebook root-level metadata.

notebookFormat
Int32

Notebook format (major number). Incremented between backwards incompatible changes to the notebook format.

notebookFormatMinor
Int32

Notebook format (minor number). Incremented for backward compatible changes to the notebook format.

cells
IEnumerable<NotebookCell>

Array of cells of the current notebook.

Exceptions

metadata or cells is null.

Applies to