11 implementations of SetData
ComDisabled.Tests (1)
DataObjectComTests.cs (1)
60
public void
SetData
(string format, bool autoConvert, object data) => throw new NotImplementedException();
System.Windows.Forms (4)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
115
public void
SetData
(string format, bool autoConvert, object? data) => _winFormsDataObject.SetData(format, autoConvert, data);
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
506
void IDataObject.
SetData
(string format, bool autoConvert, object? data) { }
System\Windows\Forms\OLE\DataObject.cs (1)
113
public virtual void
SetData
(string format, bool autoConvert, object? data)
System\Windows\Forms\OLE\DataObject.DataStore.cs (1)
64
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 (5)
System\Windows\Forms\ClipboardTests.cs (1)
617
void IDataObject.
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\DataObjectTests.cs (1)
2406
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();
16 references to SetData
System.Windows.Forms (2)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
115
public void SetData(string format, bool autoConvert, object? data) => _winFormsDataObject.
SetData
(format, autoConvert, data);
System\Windows\Forms\OLE\DataObject.cs (1)
114
=> ((IDataObject)_innerData).
SetData
(format, autoConvert, data);
System.Windows.Forms.Tests (14)
System\Windows\Forms\DataObjectTests.cs (14)
858
.Setup(o => o.
SetData
(DataFormats.WaveAudio, false, It.IsAny<MemoryStream>()))
862
mockDataObject.Verify(o => o.
SetData
(DataFormats.WaveAudio, false, It.IsAny<MemoryStream>()), Times.Once());
916
.Setup(o => o.
SetData
(DataFormats.WaveAudio, false, audioStream))
920
mockDataObject.Verify(o => o.
SetData
(DataFormats.WaveAudio, false, audioStream), Times.Once());
1168
.Setup(o => o.
SetData
(format, autoConvert, data))
1172
mockDataObject.Verify(o => o.
SetData
(format, autoConvert, data), Times.Once());
1289
.Setup(o => o.
SetData
(DataFormats.FileDrop, true, It.IsAny<string[]>()))
1293
mockDataObject.Verify(o => o.
SetData
(DataFormats.FileDrop, true, It.IsAny<string[]>()), Times.Once());
1351
.Setup(o => o.
SetData
(DataFormats.Bitmap, true, image))
1355
mockDataObject.Verify(o => o.
SetData
(DataFormats.Bitmap, true, image), Times.Once());
1429
.Setup(o => o.
SetData
(DataFormats.UnicodeText, false, textData))
1433
mockDataObject.Verify(o => o.
SetData
(DataFormats.UnicodeText, false, textData), Times.Once());
1523
.Setup(o => o.
SetData
(expectedFormat, false, textData))
1527
mockDataObject.Verify(o => o.
SetData
(expectedFormat, false, textData), Times.Once());