11 implementations of GetData
ComDisabled.Tests (1)
DataObjectComTests.cs (1)
52public object GetData(string format, bool autoConvert) => throw new NotImplementedException();
System.Windows.Forms (4)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
107object? IDataObject.GetData(string format, bool autoConvert) => _winFormsDataObject.GetData(format, autoConvert);
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
396object? IDataObject.GetData(string format, bool autoConvert)
System\Windows\Forms\OLE\DataObject.cs (1)
95public virtual object? GetData(string format, bool autoConvert) =>
System\Windows\Forms\OLE\DataObject.DataStore.cs (1)
32public virtual 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 (5)
System\Windows\Forms\ClipboardTests.cs (1)
581object IDataObject.GetData(string format, bool autoConvert) => format == "Foo" ? "Bar" : null!;
System\Windows\Forms\DataObjectComTests.cs (1)
53public object GetData(string format, bool autoConvert) => throw new NotImplementedException();
System\Windows\Forms\DataObjectTests.cs (1)
2395public 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();
14 references to GetData
System.Windows.Forms (4)
System\Windows\Forms\OLE\Clipboard.cs (1)
233GetDataObject() is IDataObject dataObject ? dataObject.GetData(format, autoConvert) : null;
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
107object? IDataObject.GetData(string format, bool autoConvert) => _winFormsDataObject.GetData(format, autoConvert);
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
432object? IDataObject.GetData(string format) => ((IDataObject)this).GetData(format, autoConvert: true);
System\Windows\Forms\OLE\DataObject.cs (1)
96((IDataObject)_innerData).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)
289MemoryStream stm = (MemoryStream)dataObject.GetData(AxClipFormat, true); 320object serializationData = dataObject.GetData(OleDragDropHandler.NestedToolboxItemFormat, false); 326serializationData = 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)
289.Setup(o => o.GetData(format, true)) 294mockDataObject.Verify(o => o.GetData(format, true), Times.Once()); 320.Setup(o => o.GetData(format, autoConvert)) 325mockDataObject.Verify(o => o.GetData(format, autoConvert), Times.Once());