.net - Get and set clipboard contents regardless of format - C# -


in .net, possible clipboard contents regardless of format, hold them in memory , later restore them?

i tried clipboard.getdataobject() seems impossible restore value without knowing format. ideally to:

var list = new list<object>(); ... list.add(clipboard.getdata()); ... later ... clipboard.setdata(list[x]); 

it impossible because of 1 reason: don't know user put in clipboard during activity. way try format of data in cliboard using dataformats class


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -