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