21 references to ContainsData
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\ClipboardProxy.vb (1)
46Return Clipboard.ContainsData(format)
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\MyServices\ClipboardProxyTests.cs (1)
45clipboard.ContainsData(DataFormats.UnicodeText).Should().Be(System.Windows.Forms.Clipboard.ContainsData(DataFormats.UnicodeText));
System.Windows.Forms (2)
System\Windows\Forms\OLE\Clipboard.cs (2)
179public static bool ContainsAudio() => ContainsData(DataFormats.WaveAudioConstant); 215return ContainsData(ConvertToDataFormats(format));
System.Windows.Forms.Tests (17)
System\Windows\Forms\ClipboardTests.cs (17)
36Clipboard.ContainsData("format").Should().BeFalse(); 43Clipboard.ContainsData("format").Should().BeFalse(); 71bool result = Clipboard.ContainsData(format); 72Clipboard.ContainsData(format).Should().Be(result); 164Clipboard.ContainsData(DataFormats.WaveAudio).Should().BeTrue(); 176Clipboard.ContainsData(DataFormats.WaveAudio).Should().BeTrue(); 196Clipboard.ContainsData(DataFormats.WaveAudio).Should().BeTrue(); 208Clipboard.ContainsData(DataFormats.WaveAudio).Should().BeTrue(); 225Clipboard.ContainsData(format).Should().BeTrue(); 248Clipboard.ContainsData("MyData").Should().BeTrue(); 267Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 280Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 294Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 309Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 323Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 516Clipboard.ContainsData(format).Should().BeTrue(); 528Clipboard.ContainsData(format).Should().BeTrue();