2003-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System / System.ComponentModel / IComNativeDescriptorHandler.cs
1 //
2 // System.ComponentModel.IComNativeDescriptorHandler.cs
3 //
4 // Author:
5 //  Andreas Nahr (ClassDevelopment@A-SoftTech.com)
6 //
7 // (C) 2003 Andreas Nahr
8 //
9
10 using System;
11
12 namespace System.ComponentModel
13 {
14         public interface IComNativeDescriptorHandler
15         {
16                 AttributeCollection GetAttributes (object component);
17                 string GetClassName (object component);
18                 TypeConverter GetConverter (object component);
19                 EventDescriptor GetDefaultEvent (object component);
20                 PropertyDescriptor GetDefaultProperty (object component);
21                 object GetEditor (object component, Type baseEditorType);
22                 EventDescriptorCollection GetEvents (object component);
23                 EventDescriptorCollection GetEvents (object component, Attribute [] attributes);
24                 string GetName (object component);
25                 PropertyDescriptorCollection GetProperties (object component, Attribute [] attributes);
26                 object GetPropertyValue (object component, int dispid, ref bool success);
27                 object GetPropertyValue (object component, string propertyName, ref bool success);
28         }
29 }
30