14 implementations of SetData
ComDisabled.Tests (1)
DataObjectComTests.cs (1)
82
public void
SetData
(string format, bool autoConvert, object data) => throw new NotImplementedException();
System.Windows.Forms (4)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
94
public void
SetData
(string format, bool autoConvert, object? data) => _winFormsDataObject.SetData(format, autoConvert, data);
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
623
public void
SetData
(string format, bool autoConvert, object? data) { }
System\Windows\Forms\OLE\DataObject.cs (1)
255
public virtual void
SetData
(string format, bool autoConvert, object? data) =>
System\Windows\Forms\OLE\DataObject.DataStore.cs (1)
85
public void
SetData
(string format, bool autoConvert, object? data)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (1)
277
public void
SetData
(string format, bool autoConvert, object? data)
System.Windows.Forms.Tests (8)
System\Windows\Forms\ClipboardTests.cs (2)
639
void IDataObject.
SetData
(string format, bool autoConvert, object? data) => throw new NotImplementedException();
1144
public void
SetData
(string format, bool autoConvert, object? data) => throw new NotImplementedException();
System\Windows\Forms\DataObjectComTests.cs (1)
61
public void
SetData
(string format, bool autoConvert, object data) => throw new NotImplementedException();
System\Windows\Forms\DataObjectExtensionsTests.cs (2)
175
public void
SetData
(string format, bool autoConvert, object? data) => throw new NotImplementedException();
191
public void
SetData
(string format, bool autoConvert, object? data) => throw new NotImplementedException();
System\Windows\Forms\DataObjectTests.cs (1)
2688
public void
SetData
(string format, bool autoConvert, object data) => throw new NotImplementedException();
System\Windows\Forms\DragEventArgsTests.cs (1)
104
public void
SetData
(string format, bool autoConvert, object data) => throw new NotImplementedException();
System\Windows\Forms\ToolStripItemTests.cs (1)
10248
public void
SetData
(string format, bool autoConvert, object data) => throw new NotImplementedException();
15 references to SetData
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
94
public void SetData(string format, bool autoConvert, object? data) => _winFormsDataObject.
SetData
(format, autoConvert, data);
System.Windows.Forms.Tests (14)
System\Windows\Forms\DataObjectTests.cs (14)
1004
.Setup(o => o.
SetData
(DataFormats.WaveAudio, false, It.IsAny<MemoryStream>()))
1008
mockDataObject.Verify(o => o.
SetData
(DataFormats.WaveAudio, false, It.IsAny<MemoryStream>()), Times.Once());
1062
.Setup(o => o.
SetData
(DataFormats.WaveAudio, false, audioStream))
1066
mockDataObject.Verify(o => o.
SetData
(DataFormats.WaveAudio, false, audioStream), Times.Once());
1450
.Setup(o => o.
SetData
(format, autoConvert, data))
1454
mockDataObject.Verify(o => o.
SetData
(format, autoConvert, data), Times.Once());
1571
.Setup(o => o.
SetData
(DataFormats.FileDrop, true, It.IsAny<string[]>()))
1575
mockDataObject.Verify(o => o.
SetData
(DataFormats.FileDrop, true, It.IsAny<string[]>()), Times.Once());
1633
.Setup(o => o.
SetData
(DataFormats.Bitmap, true, image))
1637
mockDataObject.Verify(o => o.
SetData
(DataFormats.Bitmap, true, image), Times.Once());
1711
.Setup(o => o.
SetData
(DataFormats.UnicodeText, false, textData))
1715
mockDataObject.Verify(o => o.
SetData
(DataFormats.UnicodeText, false, textData), Times.Once());
1805
.Setup(o => o.
SetData
(expectedFormat, false, textData))
1809
mockDataObject.Verify(o => o.
SetData
(expectedFormat, false, textData), Times.Once());