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)
111
public void SetDataAsJson<T>(T data) =>
SetData
(typeof(T), TryJsonSerialize(typeof(T).FullName!, data));
System.Windows.Forms.Tests (5)
System\Windows\Forms\DataObjectTests.cs (2)
1478
dataObject.
SetData
(format, data);
1492
((Action)(() => dataObject.
SetData
((Type)null, new object()))).Should()
System\Windows\Forms\ToolStripSplitStackDragDropHandlerTests.cs (3)
27
dataObject.
SetData
(typeof(ToolStripItem), toolStripItem);
51
dataObject.
SetData
(typeof(ToolStripItem), toolStripItem);
75
dataObject.
SetData
(typeof(ToolStripItem), toolStripItem);
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
97
data.
SetData
(typeof(Button), button);