11 implementations of SetData
ComDisabled.Tests (1)
DataObjectComTests.cs (1)
61public void SetData(string format, object data) => throw new NotImplementedException();
System.Windows.Forms (4)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
116public void SetData(string format, object? data) => _winFormsDataObject.SetData(format, data);
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
507void IDataObject.SetData(string format, object? data) { }
System\Windows\Forms\OLE\DataObject.cs (1)
116public virtual void SetData(string format, object? data) => ((IDataObject)_innerData).SetData(format, data);
System\Windows\Forms\OLE\DataObject.DataStore.cs (1)
90public void SetData(string format, object? data) => SetData(format, autoConvert: true, data);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (1)
286public void SetData(string format, object? data)
System.Windows.Forms.Tests (5)
System\Windows\Forms\ClipboardTests.cs (1)
618void IDataObject.SetData(string format, object? data) => throw new NotImplementedException();
System\Windows\Forms\DataObjectComTests.cs (1)
62public void SetData(string format, object data) => throw new NotImplementedException();
System\Windows\Forms\DataObjectTests.cs (1)
2407public void SetData(string format, object data) => throw new NotImplementedException();
System\Windows\Forms\DragEventArgsTests.cs (1)
105public void SetData(string format, object data) => throw new NotImplementedException();
System\Windows\Forms\ToolStripItemTests.cs (1)
10249public void SetData(string format, object data) => throw new NotImplementedException();
5 references to SetData
System.Windows.Forms (3)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
116public void SetData(string format, object? data) => _winFormsDataObject.SetData(format, data);
System\Windows\Forms\OLE\DataObject.Composition.WinFormsToNativeAdapter.cs (1)
247_dataObject.SetData(formatName, new DragDropFormat(pformatetc->cfFormat, *pmedium, !fRelease));
System\Windows\Forms\OLE\DataObject.cs (1)
116public virtual void SetData(string format, object? data) => ((IDataObject)_innerData).SetData(format, data);
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataObjectTests.cs (2)
1085.Setup(o => o.SetData(format, data)) 1089mockDataObject.Verify(o => o.SetData(format, data), Times.Once());