10 references to SetDataObject
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
StringCopyPaste\WpfStringCopyPasteService.cs (1)
50
Clipboard.
SetDataObject
(copy, copy: false, retryTimes: 5, retryDelay: 50);
System.Windows.Forms (3)
System\Windows\Forms\OLE\Clipboard.cs (3)
24
/// <inheritdoc cref="
SetDataObject
(object, bool, int, int)"/>
30
/// <inheritdoc cref="
SetDataObject
(object, bool, int, int)"/>
32
SetDataObject
(data, copy, retryTimes: 10, retryDelay: 100);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ClipboardTests.cs (6)
314
Clipboard.
SetDataObject
(dataObject, copy, retryTimes, retryDelay);
328
Clipboard.
SetDataObject
(data, copy, retryTimes, retryDelay);
339
() => Clipboard.
SetDataObject
(null!, copy: true, retryTimes: 10, retryDelay: 0)
352
Action action = () => Clipboard.
SetDataObject
(new object(), copy: true, retryTimes: -1, retryDelay: 0);
359
Action action = () => Clipboard.
SetDataObject
(new object(), copy: true, retryTimes: 10, retryDelay: -1);
371
() => Clipboard.
SetDataObject
(null!, copy: true, retryTimes: 10, retryDelay: 0),