**** Merged from MCS ****
[mono-project.git] / mcs / class / System.Windows.Forms / Gtk / IDataObject.cs
blob0942260cd01328a01a5f6637c2df0e9520c0428b
1 //
2 // System.Windows.Forms.IDataObject.cs
3 //
4 // Author:
5 // William Lamb (wdlamb@notwires.com)
6 // Dennis Hayes (dennish@raytek.com)
7 //
8 // (C) 2002 Ximian, Inc. http://www.ximian.com
9 //
11 namespace System.Windows.Forms {
13 public interface IDataObject {
15 object GetData(string format);
16 object GetData(Type format);
17 object GetData(string format, bool autoConvert);
19 bool GetDataPresent(string format);
20 bool GetDataPresent(Type format);
21 bool GetDataPresent(string format, bool autoConvert);
23 string[] GetFormats();
24 string[] GetFormats(bool autoConvert);
26 void SetData(object data);
27 void SetData(string format, object data);
28 void SetData(Type format, object data);
29 void SetData(string format, bool autoConvert, object data);