Clipboard Class

   
Clipboard Class

Namespace

System.Windows.Forms

Createable

No

Description

The Clipboard object represents the Windows Clipboard, an object that allows data to be shared across processes. The members of the Clipboard class allow data to be placed in and retrieved from the Clipboard.

The Clipboard object can be created as follows :

 Dim obj As Clipboard 

However, because the Clipboard object's members are shared, you do not need to instantiate the Clipboard object to access its properties and methods . Hence, you can place data on the Clipboard, for instance, with the following code fragment:

 Clipboard.SetDataObject(strData) 

Application class members marked with a plus sign (+) are discussed in detail in their own entries.

Public Shared Methods

GetDataObject +
SetDataObject +

See Also

Clipboard.GetDataObject Method, Clipboard.SetDataObject Method

   


VB.Net Language in a Nutshell
VB.NET Language in a Nutshell
ISBN: B00006L54Q
EAN: N/A
Year: 2002
Pages: 503

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net