共用方式為


My.Computer.Clipboard Object Members 

The My.Computer.Clipboard Object provides methods for working with the clipboard.

Methods

Method Description

Clear

Clears the clipboard.

This method is available only for non-server applications.

ContainsAudio

Determines whether the clipboard contains audio data.

This method is available only for non-server applications.

ContainsData

Determines whether the clipboard contains data in the specified custom format.

This method is available only for non-server applications.

ContainsFileDropList

Determines whether the clipboard contains a FileDropList.

This method is available only for non-server applications.

ContainsImage

Determine whether the clipboard contains an image.

This method is available only for non-server applications.

ContainsText

Determines whether the clipboard contains text.

This method is available only for non-server applications.

GetAudioStream

Retrieves an audio stream from the clipboard.

This method is available only for non-server applications.

GetData

Retrieves data from the clipboard.

This method is available only for non-server applications.

GetDataObject

Retrieves a data object from the clipboard. This method is available only for non-server applications.

GetFileDropList

Retrieves a FileDropList from the clipboard.

This method is available only for non-server applications.

GetImage

Retrieves an image from the clipboard.

This method is available only for non-server applications.

GetText

Retrieves text from the clipboard.

This method is available only for non-server applications.

SetAudio

Writes audio data to the clipboard.

This method is available only for non-server applications.

SetData

Writes data in the specified custom format to the clipboard.

This method is available only for non-server applications.

SetDataObject

Writes a data object to the clipboard.

This method is available only for non-server applications.

SetFileDropList

Writes a FileFropList to the clipboard.

This method is available only for non-server applications.

SetImage

Writes an image to the clipboard.

This method is available only for non-server applications.

SetText

Writes text to the clipboard.

This method is available only for non-server applications.

See Also

Tasks

How to: Clear the Clipboard in Visual Basic
How to: Read from the Clipboard in Visual Basic
How to: Determine What Type of File is Stored on the Clipboard in Visual Basic
How to: Write to the Clipboard in Visual Basic
How to: Retrieve an Image from the Clipboard in Visual Basic
How to: Save an Audio Stream to the Clipboard in Visual Basic

Reference

My.Computer.Clipboard Object