5 references to TryGetData
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\MyServices\ClipboardProxyTests.cs (1)
137
Action tryGetData1 = () => System.Windows.Forms.Clipboard.
TryGetData
(format, DataWithObjectField.Resolver, out DataWithObjectField? expected);
System.Windows.Forms (1)
System\Windows\Forms\OLE\Clipboard.cs (1)
400
/// <inheritdoc cref="
TryGetData
{T}(string, Func{TypeName, Type}, out T)"/>
System.Windows.Forms.Tests (3)
System\Windows\Forms\ClipboardTests.cs (3)
732
Clipboard.
TryGetData
(format, TestData.TestDataResolver, out TestData? data).Should().BeTrue();
739
Clipboard.
TryGetData
(format, TestData.TestDataResolver, out TestData? testData).Should().BeTrue();
748
Action tryGetDataWithResolver = () => Clipboard.
TryGetData
(format, TestData.TestDataResolver, out testData);