System.ComponentModel.TypeDescriptor.CreateEvent C# (CSharp) Method

CreateEvent() public static method

This creates a new event descriptor identical to an existing event descriptor. The new event descriptor has the specified metadata attributes merged with the existing metadata attributes.
public static CreateEvent ( Type componentType, System.ComponentModel.EventDescriptor oldEventDescriptor ) : System.ComponentModel.EventDescriptor
componentType System.Type
oldEventDescriptor System.ComponentModel.EventDescriptor
return System.ComponentModel.EventDescriptor
        public static EventDescriptor CreateEvent(Type componentType, EventDescriptor oldEventDescriptor, params Attribute[] attributes)
        {
            return new ReflectEventDescriptor(componentType, oldEventDescriptor, attributes);
        }

Same methods

TypeDescriptor::CreateEvent ( Type componentType, string name, Type type ) : System.ComponentModel.EventDescriptor