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