5 implementations of TryGetData
System.Windows.Forms (4)
System\Windows\Forms\OLE\DataObject.Composition.cs (1)
108public bool TryGetData<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T>(
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
637public bool TryGetData<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T>(
System\Windows\Forms\OLE\DataObject.cs (1)
279public bool TryGetData<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T>(
System\Windows\Forms\OLE\DataObject.DataStore.cs (1)
206public bool TryGetData<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T>(
System.Windows.Forms.Tests (1)
System\Windows\Forms\DataObjectExtensionsTests.cs (1)
247public bool TryGetData<T>(string format, bool autoConvert, [MaybeNullWhen(false), NotNullWhen(true)] out T data)
3 references to TryGetData
System.Windows.Forms (3)
System\Windows\Forms\OLE\Clipboard.cs (1)
476return typed.TryGetData(format, autoConvert: true, out T? value) ? value : default;
System\Windows\Forms\OLE\DataObjectExtensions.cs (2)
42/// <inheritdoc cref="ITypedDataObject.TryGetData{T}(string, bool, out T)"/> 50GetTypedDataObjectOrThrow(dataObject).TryGetData(format, autoConvert, out data);