Returns the content of the cliboard as string
[Visual Basic]
Public Shared Function paste() As
String
[C#]
public static
string paste();
Return Value
The content of the clipboard as text.
Remarks
In most cases it returns the string represenation of the object in the clipboard (object.ToString()), with the following exceptions:
- Format Shell IDList Array is handled by the method idlistfn()
Please be aware, that some OLE operations require, that the main method is compiled with the attribute [STAThread} on desktop windows in order to work, else the function will always return false.
See Also
Clip Class | serial Namespace