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