微软文档:https://docs.microsoft.com/zh-cn/dotnet/api/system.windows.forms.clipboard?view=netframework-4.5&f1url=%3FappId%3DDev14IDEF1%26l%3DZH-CN%26k%3Dk(System.Windows.Forms.Clipboard);k(TargetFrameworkMoniker-.NETFramework,Version%253Dv4.5);k(DevLang-csharp)%26rd%3Dtrue 简单使用: Clipboard.SetText("czj");//设置剪贴板值 string context = Clipboard.GetText();//获取剪贴板值