Options
All
  • Public
  • Public/Protected
  • All
Menu

NotebookCellData is the raw representation of notebook cells. Its is part of NotebookData.

层级

  • NotebookCellData

索引

Constructors(1)

Properties(6)

Constructors(1)

constructor

  • Create new cell data. Minimal cell data specifies its kind, its source value, and the language identifier of its source.

    Parameters

    • kind: NotebookCellKind

      The kind.

    • value: string

      The source value.

    • languageId: string

      The language identifier of the source value.

    Returns NotebookCellData

Properties(6)

kind

The kind of this cell data.

value

value: string

The source value of this cell data - either source code or formatted text.

languageId

languageId: string

The language identifier of the source value of this cell data. Any value from getLanguages is possible.

Optional outputs

The outputs of this cell data.

Optional metadata

metadata: {}

Arbitrary metadata of this cell data. Can be anything but must be JSON-stringifyable.

Type declaration

  • [key: string]: any

Optional executionSummary

The execution summary of this cell data.

友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc. Maintained by 洛竹