Home Cooker Classes Others Rice CookerGX
Classes  >  clipboard  >  SetText(string)
clipboard class : SetText(string) method

Description

Sets a string to the clipboard.

Syntax

clipboadInstance.SetText(string setData)

Arguments

ClassNameDescription
stringsetDataA string which want to set.

Return value

None

Sample code

clipboard clip;

clip.SetText("any string");

Notes

It's a wrapper of the System.Windows.Forms.Clipboard.SetText(String).

Nothing happens if set a empty string.

Links for reference

Copyright © Rice All rights reserved.