34 references to ContainsData
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\ClipboardProxy.vb (1)
49
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 (1)
System\Windows\Forms\OLE\Clipboard.cs (1)
161
public static bool ContainsAudio() =>
ContainsData
(DataFormatNames.WaveAudio);
System.Windows.Forms.Tests (30)
System\Windows\Forms\ClipboardTests.cs (30)
45
Clipboard.
ContainsData
("format").Should().BeFalse();
52
Clipboard.
ContainsData
("format").Should().BeFalse();
80
bool result = Clipboard.
ContainsData
(format);
81
Clipboard.
ContainsData
(format).Should().Be(result);
174
Clipboard.
ContainsData
(DataFormats.WaveAudio).Should().BeTrue();
186
Clipboard.
ContainsData
(DataFormats.WaveAudio).Should().BeTrue();
206
Clipboard.
ContainsData
(DataFormats.WaveAudio).Should().BeTrue();
218
Clipboard.
ContainsData
(DataFormats.WaveAudio).Should().BeTrue();
235
Clipboard.
ContainsData
(format).Should().BeTrue();
258
Clipboard.
ContainsData
("MyData").Should().BeTrue();
277
Clipboard.
ContainsData
(data.GetType().FullName).Should().BeTrue();
290
Clipboard.
ContainsData
(data.GetType().FullName).Should().BeTrue();
304
Clipboard.
ContainsData
(data.GetType().FullName).Should().BeTrue();
319
Clipboard.
ContainsData
(data.GetType().FullName).Should().BeTrue();
333
Clipboard.
ContainsData
(data.GetType().FullName).Should().BeTrue();
535
Clipboard.
ContainsData
(format).Should().BeTrue();
548
Clipboard.
ContainsData
(format).Should().BeTrue();
662
Clipboard.
ContainsData
(DataFormats.Text).Should().BeTrue();
663
Clipboard.
ContainsData
(DataFormats.UnicodeText).Should().BeTrue();
1191
Clipboard.
ContainsData
("TEXT").Should().BeTrue();
1192
Clipboard.
ContainsData
(DataFormats.Text).Should().BeTrue();
1193
Clipboard.
ContainsData
(DataFormats.UnicodeText).Should().BeTrue();
1217
Clipboard.
ContainsData
("TEXT").Should().BeTrue();
1218
Clipboard.
ContainsData
(DataFormats.Text).Should().BeTrue();
1219
Clipboard.
ContainsData
(DataFormats.UnicodeText).Should().BeTrue();
1246
Clipboard.
ContainsData
("TEXT").Should().BeTrue();
1247
Clipboard.
ContainsData
(DataFormats.Text).Should().BeTrue();
1248
Clipboard.
ContainsData
(DataFormats.UnicodeText).Should().BeTrue();
1280
Clipboard.
ContainsData
(SomeDataObject.Format).Should().BeTrue();
1285
Clipboard.
ContainsData
(SomeDataObject.Format).Should().BeTrue();