2 // System.Windows.Forms.DataObject
5 // stubbed out by Richard Baumann (biochem333@nyc.rr.com)
6 // Dennis Hayes (dennish@Raytek.com)
8 // (C) Ximian, Inc., 2002
10 using System.Runtime.InteropServices;
11 namespace System.Windows.Forms {
14 // Implements a basic data transfer mechanism.
16 [ClassInterface(ClassInterfaceType.None)]
17 public class DataObject : IDataObject {
20 // --- Constructors/Destructors
23 //[ClassInterface(ClassInterfaceType.None)]
24 public DataObject() : base()
28 //[ClassInterface(ClassInterfaceType.None)]
29 public DataObject(object data) : this()
34 //[ClassInterface(ClassInterfaceType.None)]
35 public DataObject(string format, object data) : this(data)
43 //[ClassInterface(ClassInterfaceType.None)]
44 public virtual object GetData(string format)
46 throw new NotImplementedException ();
49 //[ClassInterface(ClassInterfaceType.None)]
50 public virtual object GetData(Type format)
52 throw new NotImplementedException ();
55 //[ClassInterface(ClassInterfaceType.None)]
56 public virtual object GetData(string format, bool autoConvert)
58 throw new NotImplementedException ();
61 //[ClassInterface(ClassInterfaceType.None)]
62 public virtual bool GetDataPresent(string format)
64 throw new NotImplementedException ();
67 //[ClassInterface(ClassInterfaceType.None)]
68 public virtual bool GetDataPresent(Type format)
70 throw new NotImplementedException ();
73 //[ClassInterface(ClassInterfaceType.None)]
74 public virtual bool GetDataPresent(string format, bool autoConvert)
76 throw new NotImplementedException ();
79 //[ClassInterface(ClassInterfaceType.None)]
80 public virtual string[] GetFormats()
82 throw new NotImplementedException ();
85 //[ClassInterface(ClassInterfaceType.None)]
86 public virtual string[] GetFormats(bool autoConvert)
88 throw new NotImplementedException ();
91 //[ClassInterface(ClassInterfaceType.None)]
92 public virtual void SetData(object data)
94 throw new NotImplementedException ();
97 //[ClassInterface(ClassInterfaceType.None)]
98 public virtual void SetData(string format, object data)
100 throw new NotImplementedException ();
103 //[ClassInterface(ClassInterfaceType.None)]
104 public virtual void SetData(Type format, object data)
106 throw new NotImplementedException ();
109 //[ClassInterface(ClassInterfaceType.None)]
110 public virtual void SetData(string format, bool autoConvert, object data)
112 throw new NotImplementedException ();