Implemented interface member:
method
SetData
System.Windows.Forms.IDataObject.SetData(System.Object)
13 references to SetData
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
2183
iwdata.
SetData
(data);
System\Windows\Forms\OLE\DataObject.cs (3)
74
SetData
(data);
122
/// If <see cref="DataObject"/> needs to be set, JSON serialize the data held in <paramref name="data"/> using this method, then use <see cref="
SetData
(object?)"/>
141
/// If custom JSON serialization behavior is needed, manually JSON serialize the data and then use <see cref="
SetData
(object?)"/>,
System.Windows.Forms.Tests (9)
System\Windows\Forms\DataObjectTests.cs (9)
698
dataObject.
SetData
(bitmap2);
773
dataObject.
SetData
(bitmap2);
1089
dataObject.
SetData
(data);
1103
dataObject.
SetData
(data1);
1104
dataObject.
SetData
(data2);
1120
dataObject.
SetData
(data1);
1121
dataObject.
SetData
(data2);
1149
dataObject.
SetData
(data);
1157
((Action)(() => dataObject.
SetData
(null))).Should().Throw<ArgumentNullException>().WithParameterName("data");