4 references to GetTypedDataIfAvailable
System.Windows.Forms (4)
System\Windows\Forms\OLE\Clipboard.cs (4)
232
public static Stream? GetAudioStream() =>
GetTypedDataIfAvailable
<Stream>(DataFormats.WaveAudioConstant);
439
if (
GetTypedDataIfAvailable
<string[]?>(DataFormats.FileDropConstant) is string[] strings)
453
public static Image? GetImage() =>
GetTypedDataIfAvailable
<Image>(DataFormats.Bitmap);
468
return
GetTypedDataIfAvailable
<string>(ConvertToDataFormats(format)) is string text ? text : string.Empty;