C# 클래스 Microsoft.Silverlight.Testing.Client.ClipboardHelper

Exposes clipboard functionality within Silverlight 3 applications when a Silverlight 4 runtime is in use.
파일 보기 프로젝트 열기: garyjohnson/wpnest

공개 메소드들

메소드 설명
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