14 implementations of GetDataPresent
ComDisabled.Tests (1)
DataObjectComTests.cs (1)
77public bool GetDataPresent(string format, bool autoConvert) => throw new NotImplementedException();
System.Windows.Forms (4)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
89public bool GetDataPresent(string format, bool autoConvert) => _winFormsDataObject.GetDataPresent(format, autoConvert);
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
557public bool GetDataPresent(string format, bool autoConvert)
System\Windows\Forms\OLE\DataObject.cs (1)
245public virtual bool GetDataPresent(string format, bool autoConvert) => _innerData.GetDataPresent(format, autoConvert);
System\Windows\Forms\OLE\DataObject.DataStore.cs (1)
127public 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 (8)
System\Windows\Forms\ClipboardTests.cs (2)
633bool IDataObject.GetDataPresent(string format, bool autoConvert) => format == "Foo"; 1139public bool GetDataPresent(string format, bool autoConvert) => throw new NotImplementedException();
System\Windows\Forms\DataObjectComTests.cs (1)
56public bool GetDataPresent(string format, bool autoConvert) => throw new NotImplementedException();
System\Windows\Forms\DataObjectExtensionsTests.cs (2)
170public bool GetDataPresent(string format, bool autoConvert) => throw new NotImplementedException(); 186public bool GetDataPresent(string format, bool autoConvert) => throw new NotImplementedException();
System\Windows\Forms\DataObjectTests.cs (1)
2681public 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();
7 references to GetDataPresent
System.Windows.Forms (2)
System\Windows\Forms\OLE\Clipboard.cs (1)
200GetDataObject() is IDataObject dataObject && dataObject.GetDataPresent(format, autoConvert: autoConvert);
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
89public bool GetDataPresent(string format, bool autoConvert) => _winFormsDataObject.GetDataPresent(format, autoConvert);
System.Windows.Forms.Tests (4)
System\Windows\Forms\DataObjectTests.cs (4)
557.Setup(o => o.GetDataPresent(format, true)) 562mockDataObject.Verify(o => o.GetDataPresent(format, true), Times.Once()); 588.Setup(o => o.GetDataPresent(format, autoConvert)) 593mockDataObject.Verify(o => o.GetDataPresent(format, autoConvert), Times.Once());
WinFormsControlsTest (1)
DragDrop.cs (1)
212&& e.Data.GetDataPresent(nameof(_nyanCatAscii), false)