| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //
- // System.ComponentModel.IComNativeDescriptorHandler.cs
- //
- // Author:
- // Andreas Nahr ([email protected])
- //
- // (C) 2003 Andreas Nahr
- //
- using System;
- namespace System.ComponentModel
- {
- public interface IComNativeDescriptorHandler
- {
- AttributeCollection GetAttributes(object component);
- string GetClassName(object component);
- TypeConverter GetConverter(object component);
- EventDescriptor GetDefaultEvent(object component);
- PropertyDescriptor GetDefaultProperty(object component);
- object GetEditor(object component, Type baseEditorType);
- EventDescriptorCollection GetEvents(object component);
- EventDescriptorCollection GetEvents(object component, Attribute[] attributes);
- string GetName(object component);
- PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes);
- object GetPropertyValue(object component, int dispid, ref bool success);
- object GetPropertyValue(object component, string propertyName, ref bool success);
- }
- }
|