Guest User

Untitled

a guest
Jul 16th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. List<String> dataFormats = typeof(DataFormats).GetFields(BindingFlags.Public | BindingFlags.Static)
  2. .Select(f => f.Name)
  3. .ToList();
  4.  
  5. List<String> dataFormatsInClipboard =
  6. dataFormats.Where( df => Clipboard.ContainsData(df) )
  7. .ToList();
Add Comment
Please, Sign In to add comment