System.Windows.Forms.Clipboard.SetText C# (CSharp) Method

SetText() public static method

public static SetText ( string text ) : void
text string
return void
		public static void SetText (string text)
		{
			if (string.IsNullOrEmpty (text))
				throw new ArgumentNullException ("text");
				
			SetData (DataFormats.UnicodeText, text);
		}
		

Same methods

Clipboard::SetText ( string text, TextDataFormat format ) : void

Usage Example

 protected override void EndProcessing()
 {
     ExecuteWrite(delegate
     {
         WinFormsClipboard.SetText(_output.ToString());
     });
 }
All Usage Examples Of System.Windows.Forms.Clipboard::SetText