4 references to GetTypedDataIfAvailable
System.Windows.Forms (4)
System\Windows\Forms\OLE\Clipboard.cs (4)
133public static Stream? GetAudioStream() => GetTypedDataIfAvailable<Stream>(DataFormatNames.WaveAudio); 362if (GetTypedDataIfAvailable<string[]?>(DataFormatNames.FileDrop) is string[] strings) 376public static Image? GetImage() => GetTypedDataIfAvailable<Image>(DataFormats.Bitmap); 391return GetTypedDataIfAvailable<string>(ConvertToDataFormats(format)) is string text ? text : string.Empty;