2 // System.ComponentModel.IComNativeDescriptorHandler.cs
5 // Andreas Nahr (ClassDevelopment@A-SoftTech.com)
7 // (C) 2003 Andreas Nahr
12 namespace System.ComponentModel
14 public interface IComNativeDescriptorHandler
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);