C# Класс Microsoft.Silverlight.Testing.Client.ClipboardHelper

Exposes clipboard functionality within Silverlight 3 applications when a Silverlight 4 runtime is in use.
Показать файл Открыть проект

Открытые методы

Метод Описание
ContainsText ( ) : bool

Queries the clipboard for the presence of data in the Unicode text format.

GetText ( ) : string

Retrieves Unicode text data from the system clipboard, if Unicode text data exists.

SetText ( string text ) : void

Sets Unicode text data to store on the clipboard, for later access with System.Windows.Clipboard.GetText().

Приватные методы

Метод Описание
PrepareClipboardInstance ( ) : void

Prepares the type and reflects for new Silverlight features.

RequireClipboardFeature ( ) : void

Prepares to use the System.Windows.Clipboard type and throws an exception if the feature cannot be completely located.

Описание методов

ContainsText() публичный статический Метод

Queries the clipboard for the presence of data in the Unicode text format.
public static ContainsText ( ) : bool
Результат bool

GetText() публичный статический Метод

Retrieves Unicode text data from the system clipboard, if Unicode text data exists.
public static GetText ( ) : string
Результат string

SetText() публичный статический Метод

Sets Unicode text data to store on the clipboard, for later access with System.Windows.Clipboard.GetText().
public static SetText ( string text ) : void
text string A string that contains the Unicode text data to /// store on the clipboard.
Результат void