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)

Syntax

Public Shared Function ContainsText As Boolean
public static bool ContainsText()

Return Value

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

Clipboard Class

System.Windows Namespace