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