
516
|
Chapter 13: The ‘My’ Reference
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Syntax
Dim result As Boolean = My.Computer.Clipboard.ContainsText([format])
format (optional; TextDataFormat enumeration)
The specific type of text to be checked for on the clipboard. One of the following
System.Windows.Forms.TextDataFormat enumeration values.
Description
The ContainsText method indicates whether the system clipboard contains text data
(
True) or not (False), for either general text or a specific type of text.
Usage at a Glance
• This method is only valid in non-server applications.
• If the format parameter is missing, this method checks for any type of text on the
system clipboard.
• Security restrictions in place for the active user may limit access to the system
clipboard.
Related Framework Entries
• Microsoft.VisualBasic.MyServices.ClipboardProxy.ContainsAudio Method
• System.Windows.Forms.Clipboard.ContainsAudio Method
See Also
Clipboard Object, ContainsAudio Method, ContainsData Method, ContainsFile-
DropList Method, ContainsImage Method, GetText Method, SetText Method
CopyDirectory Method
Location
My.Computer.FileSystem.CopyDirectory
Syntax
My.Computer.FileSystem.CopyDirectory(source, _
destination[, overwrite])
or:
My.Computer.FileSystem.CopyDirectory(source, _
destination, showUI[, onUserCancel])
source (required; String)
The path of the ...