Implemented interface member:
method
SetData
System.Windows.Forms.IDataObject.SetData(System.Type, System.Object)
7 references to SetData
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.cs (1)
111public void SetDataAsJson<T>(T data) => SetData(typeof(T), TryJsonSerialize(typeof(T).FullName!, data));
System.Windows.Forms.Tests (5)
System\Windows\Forms\DataObjectTests.cs (2)
1478dataObject.SetData(format, data); 1492((Action)(() => dataObject.SetData((Type)null, new object()))).Should()
System\Windows\Forms\ToolStripSplitStackDragDropHandlerTests.cs (3)
27dataObject.SetData(typeof(ToolStripItem), toolStripItem); 51dataObject.SetData(typeof(ToolStripItem), toolStripItem); 75dataObject.SetData(typeof(ToolStripItem), toolStripItem);
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
97data.SetData(typeof(Button), button);