22 references to ContainsData
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\ClipboardProxy.vb (1)
48Return Clipboard.ContainsData(format)
Microsoft.VisualBasic.Tests (2)
Microsoft\VisualBasic\MyServices\ClipboardProxyTests.cs (2)
48clipboard.ContainsData(DataFormats.UnicodeText).Should().Be(System.Windows.Forms.Clipboard.ContainsData(DataFormats.UnicodeText)); 97clipboard.ContainsData(format).Should().Be(System.Windows.Forms.Clipboard.ContainsData(format));
System.Windows.Forms (2)
System\Windows\Forms\OLE\Clipboard.cs (2)
190public static bool ContainsAudio() => ContainsData(DataFormats.WaveAudioConstant); 226return ContainsData(ConvertToDataFormats(format));
System.Windows.Forms.Tests (17)
System\Windows\Forms\ClipboardTests.cs (17)
44Clipboard.ContainsData("format").Should().BeFalse(); 51Clipboard.ContainsData("format").Should().BeFalse(); 79bool result = Clipboard.ContainsData(format); 80Clipboard.ContainsData(format).Should().Be(result); 173Clipboard.ContainsData(DataFormats.WaveAudio).Should().BeTrue(); 185Clipboard.ContainsData(DataFormats.WaveAudio).Should().BeTrue(); 205Clipboard.ContainsData(DataFormats.WaveAudio).Should().BeTrue(); 217Clipboard.ContainsData(DataFormats.WaveAudio).Should().BeTrue(); 234Clipboard.ContainsData(format).Should().BeTrue(); 257Clipboard.ContainsData("MyData").Should().BeTrue(); 276Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 289Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 303Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 318Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 332Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 534Clipboard.ContainsData(format).Should().BeTrue(); 547Clipboard.ContainsData(format).Should().BeTrue();