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!

IDesignerFilter.PreFilterAttributes

Allows a designer to filter the set of attributes the component it is designing will expose through the TypeDescriptor object.

[Visual Basic]
Sub PreFilterAttributes( _
   ByVal attributes As IDictionary _
)
[C#]
void PreFilterAttributes(
   IDictionary attributes
);
[C++]
void PreFilterAttributes(
   IDictionary* attributes
) = 0;
[JScript]
function PreFilterAttributes(
   attributes : IDictionary
);

Parameters

attributes
The attributes for the class of the component. The keys in the dictionary are attribute type IDs.

Return Value

The augmented set of attributes.

Remarks

This method is called immediately before its corresponding "Post" method. If you are overriding this method, call the base implementation before you perform your own filtering.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

IDesignerFilter Interface | IDesignerFilter Members | System.ComponentModel.Design Namespace | System.ComponentModel.Design.ITypeDescriptorService.FilterAttributes