ContainsText Method
Collapse the table of content
Expand the table of content

Clipboard.ContainsText Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Queries the clipboard for the presence of data in the UnicodeText format.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public Shared Function ContainsText As Boolean

Return Value

Type: System.Boolean
true if the system clipboard contains Unicode text data; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft