System.Windows.Clipboard

Summary


Provides static methods that facilitate transferring data to and from the system Clipboard.
Defined in Clipboard.js

Constructors

System.Windows.Clipboard()

Methods

  • static void Clear()
    Clears any data from the system Clipboard.
  • static {String} GetText()
    Returns a string containing the text data on the Clipboard.

    Return Values

    A string containing the text data, or an empty string if no text data is available on the Clipboard.
  • static void SetText(<String> text)
    Stores text data on the Clipboard.

    Parameters

    • text - A string that contains the text data to store on the Clipboard.