Implemented interface member:
method
TryGetData<T>
System.Windows.Forms.ITypedDataObject.TryGetData<T>(System.String, System.Boolean, out T)
7 references to TryGetData
System.Windows.Forms.Tests (7)
System\Windows\Forms\DataObjectExtensionsTests.cs (1)
93dataObject.TryGetData(DataFormats.Serializable, autoConvert, out Font? font).Should().BeFalse();
System\Windows\Forms\DataObjectTests.cs (6)
466dataObject.TryGetData(format, autoConvert, out string? data).Should().BeFalse(); 481Action tryGetData = () => dataObject.TryGetData(format, autoConvert, out string? data); 1231_ = dataObject.TryGetData(format, autoConvert: false, out object _).Should().Be(input is not null); 1232_ = dataObject.TryGetData(format, autoConvert: true, out object _).Should().Be(input is not null); 1381dataObject.TryGetData(format, autoConvert: false, out data).Should().Be(input is not null); 1383dataObject.TryGetData(format, autoConvert: true, out data).Should().Be(input is not null);