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