NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ComponentDesigner.PreFilterEvents

Allows a designer to filter the set of events the component it is designing will expose through the TypeDescriptor object. This method is called immediately before its corresponding "Post" method. If you are overriding this method you should call the base implementation before you perform your own filtering.

[Visual Basic]
Overridable Public Sub PreFilterEvents( _
   ByVal events As IDictionary _
)
[C#]
public virtual void PreFilterEvents(
   IDictionary events
);
[C++]
public: virtual void PreFilterEvents(
   IDictionary* events
);
[JScript]
public function PreFilterEvents(
   events : IDictionary
);

Parameters

events
The events for the class of the component.

Return Value

The augmented set of events. If the method does not modify any events, it may just return a reference to its input parameter. If you do make a change to the events, you must create a new array.

See Also

ComponentDesigner Class | ComponentDesigner Members | System.ComponentModel.Design Namespace | IDesignerFilter