Home News DOC Class DL Others Rice
Class  >  clipboard  >  SetText(string)
clipboard class : SetText(string) method

Description

Sets a text data.

Syntax

instance.SetText(string data)

Arguments

None.

ClassNameDescription
stringdataa text data.

Return value

None.

Sample code

1:

clipboard clip;

2:

clip.SetText("Any string.");

Notes

If you set an empty string, nothing happens.

It is a wrapper of the System.Windows.Clipboard.SetText(String).

Links for reference

Copyright © Rice All rights reserved.