Implemented interface member:
method
GetDataPresent
System.Windows.Forms.IDataObject.GetDataPresent(System.String)
11 references to GetDataPresent
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.cs (1)
107public virtual bool GetDataPresent(Type format) => format is not null && GetDataPresent(format.FullName!);
System.Windows.Forms.Tests (10)
System\Windows\Forms\DataObjectTests.ClipboardTests.cs (1)
110dataObject.GetDataPresent(format).Should().BeTrue();
System\Windows\Forms\DataObjectTests.cs (9)
372dataObject.GetDataPresent(format).Should().BeFalse(); 395.Setup(o => o.GetDataPresent(format)) 401mockDataObject.Object.GetDataPresent(format).Should().Be(result); 415dataObject.GetDataPresent(format).Should().Be(result); 480.Setup(o => o.GetDataPresent(expectedFormatName)) 484mockDataObject.Verify(o => o.GetDataPresent(expectedFormatName), Times.Exactly(expectedCallCount)); 1024dataObject.GetDataPresent(format).Should().BeTrue(); 2501data.GetDataPresent(customFormat).Should().BeTrue(); 2502data.GetDataPresent("notExist").Should().BeFalse();