System.Reflection.TypeFilter Delegate

Assembly: Mscorlib.dll
Namespace: System.Reflection
Summary
Filters the classes represented in an array of Type objects.
C# Syntax:
[Serializable]
public delegate bool TypeFilter(Type m, object filterCriteria);
Parameters:
The declaration of your event handler must have the same parameters as the TypeFilter delegate declaration.

m

The Type object to which the filter is applied.

filterCriteria

An arbitrary object used to filter the list.

Remarks
The TypeFilter delegate is used to filter a list of classes. Specifically, you use it to filter the classes represented in an array of Type objects. The Type.FindInterfaces method uses this delegate to filter the list of interfaces that it returns. Every derived class of Delegate and MulticastDelegate has a constructor and a DynamicInvoke method. See the Managed Extensions for C++ code example given in the description for Delegate.
See also:
System.Reflection Namespace | Type.FindInterfaces | Object | Delegate | MulticastDelegate

Hierarchy:

Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.