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.PreFilterAttributes

Allows a designer to filter the set of member attributes 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 PreFilterAttributes( _
   ByVal attributes As IDictionary _
)
[C#]
public virtual void PreFilterAttributes(
   IDictionary attributes
);
[C++]
public: virtual void PreFilterAttributes(
   IDictionary* attributes
);
[JScript]
public function PreFilterAttributes(
   attributes : IDictionary
);

Parameters

attributes
The member attributes for the class of the component.

Return Value

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

See Also

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