11 implementations of GetDataPresent
ComDisabled.Tests (1)
DataObjectComTests.cs (1)
55public bool GetDataPresent(string format, bool autoConvert) => throw new NotImplementedException();
System.Windows.Forms (4)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
110public bool GetDataPresent(string format, bool autoConvert) => _winFormsDataObject.GetDataPresent(format, autoConvert);
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
440public bool GetDataPresent(string format, bool autoConvert)
System\Windows\Forms\OLE\DataObject.cs (1)
102public virtual bool GetDataPresent(string format, bool autoConvert) =>
System\Windows\Forms\OLE\DataObject.DataStore.cs (1)
113public bool GetDataPresent(string format, bool autoConvert)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (1)
167public bool GetDataPresent(string format, bool autoConvert)
System.Windows.Forms.Tests (5)
System\Windows\Forms\ClipboardTests.cs (1)
611bool IDataObject.GetDataPresent(string format, bool autoConvert) => format == "Foo";
System\Windows\Forms\DataObjectComTests.cs (1)
56public bool GetDataPresent(string format, bool autoConvert) => throw new NotImplementedException();
System\Windows\Forms\DataObjectTests.cs (1)
2399public bool GetDataPresent(string format, bool autoConvert) => throw new NotImplementedException();
System\Windows\Forms\DragEventArgsTests.cs (1)
108public bool GetDataPresent(string format, bool autoConvert) => throw new NotImplementedException();
System\Windows\Forms\ToolStripItemTests.cs (1)
10243public bool GetDataPresent(string format, bool autoConvert) => throw new NotImplementedException();
8 references to GetDataPresent
System.Windows.Forms (3)
System\Windows\Forms\OLE\Clipboard.cs (1)
189GetDataObject() is IDataObject dataObject && dataObject.GetDataPresent(format, autoConvert: autoConvert);
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
110public bool GetDataPresent(string format, bool autoConvert) => _winFormsDataObject.GetDataPresent(format, autoConvert);
System\Windows\Forms\OLE\DataObject.cs (1)
103((IDataObject)_innerData).GetDataPresent(format, autoConvert);
System.Windows.Forms.Tests (4)
System\Windows\Forms\DataObjectTests.cs (4)
411.Setup(o => o.GetDataPresent(format, true)) 416mockDataObject.Verify(o => o.GetDataPresent(format, true), Times.Once()); 442.Setup(o => o.GetDataPresent(format, autoConvert)) 447mockDataObject.Verify(o => o.GetDataPresent(format, autoConvert), Times.Once());
WinFormsControlsTest (1)
DragDrop.cs (1)
212&& e.Data.GetDataPresent(nameof(_nyanCatAscii), false)