Options
All
  • Public
  • Public/Protected
  • All
Menu

The clipboard provides read and write access to the system's clipboard.

层级

  • Clipboard

索引

Methods(2)

Methods(2)

readText

  • Read the current clipboard contents as text.

    Returns Thenable<string>

    A thenable that resolves to a string.

writeText

  • writeText(value: string): Thenable<void>
  • Writes text into the clipboard.

    Parameters

    • value: string

    Returns Thenable<void>

    A thenable that resolves when writing happened.

VS Code 插件开发中文文档 | VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc