14 implementations of GetData
ComDisabled.Tests (1)
DataObjectComTests.cs (1)
74
public object
GetData
(string format, bool autoConvert) => throw new NotImplementedException();
System.Windows.Forms (4)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
86
public object?
GetData
(string format, bool autoConvert) => _winFormsDataObject.GetData(format, autoConvert);
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
547
public object?
GetData
(string format, bool autoConvert)
System\Windows\Forms\OLE\DataObject.cs (1)
224
public virtual object?
GetData
(string format, bool autoConvert)
System\Windows\Forms\OLE\DataObject.DataStore.cs (1)
75
public object?
GetData
(string format, bool autoConvert)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (1)
136
public virtual object?
GetData
(string format, bool autoConvert)
System.Windows.Forms.Tests (8)
System\Windows\Forms\ClipboardTests.cs (2)
628
object IDataObject.
GetData
(string format, bool autoConvert) => format == "Foo" ? "Bar" : null!;
1136
public object
GetData
(string format, bool autoConvert) => GetData(format);
System\Windows\Forms\DataObjectComTests.cs (1)
53
public object
GetData
(string format, bool autoConvert) => throw new NotImplementedException();
System\Windows\Forms\DataObjectExtensionsTests.cs (2)
150
public object?
GetData
(string format, bool autoConvert)
183
public object?
GetData
(string format, bool autoConvert) => throw new NotImplementedException();
System\Windows\Forms\DataObjectTests.cs (1)
2677
public object
GetData
(string format, bool autoConvert) => throw new NotImplementedException();
System\Windows\Forms\DragEventArgsTests.cs (1)
101
public object
GetData
(string format, bool autoConvert) => throw new NotImplementedException();
System\Windows\Forms\ToolStripItemTests.cs (1)
10240
public object
GetData
(string format, bool autoConvert) => throw new NotImplementedException();
13 references to GetData
System.Windows.Forms (3)
System\Windows\Forms\OLE\Clipboard.cs (2)
249
GetDataObject() is IDataObject dataObject ? dataObject.
GetData
(format, autoConvert) : null;
481
return dataObject.
GetData
(format, autoConvert: true) is T value ? value : default;
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
86
public object? GetData(string format, bool autoConvert) => _winFormsDataObject.
GetData
(format, autoConvert);
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\ComponentTray.cs (1)
2919
object serializationData = dataObj.
GetData
(DataFormat, true);
System\Windows\Forms\Design\DocumentDesigner.cs (3)
288
MemoryStream stm = (MemoryStream)dataObject.
GetData
(AxClipFormat, true);
319
object serializationData = dataObject.
GetData
(OleDragDropHandler.NestedToolboxItemFormat, false);
325
serializationData = dataObject.
GetData
(OleDragDropHandler.DataFormat, false);
System\Windows\Forms\Design\OleDragDropHandler.cs (2)
91
object? serializationData = dataObj.
GetData
(DataFormat, false);
705
object? serializationData = dataObj.
GetData
(DataFormat, true);
System.Windows.Forms.Tests (4)
System\Windows\Forms\DataObjectTests.cs (4)
297
.Setup(o => o.
GetData
(format, true))
302
mockDataObject.Verify(o => o.
GetData
(format, true), Times.Once());
328
.Setup(o => o.
GetData
(format, autoConvert))
333
mockDataObject.Verify(o => o.
GetData
(format, autoConvert), Times.Once());