Filters the classes represented in an array of Type objects.
[Visual Basic] Public Delegate Sub TypeFilter( _ ByVal m As Type, _ ByVal filterCriteria As Object _ ) As Boolean [C#] public delegate bool TypeFilter( Type m, object filterCriteria ); [C++] public __gc __delegate bool TypeFilter( Type* m, Object* filterCriteria );
[JScript] In JScript, you can use the delegates in the NGWS frameworks, but you cannot define your own.
The declaration of your event-handling method must have the same parameters as the TypeFilter delegate declaration.
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 subclass of Delegate and MulticastDelegate has a constructor and a DynamicInvoke method. See the Managed C++ code example given in the description for Delegate.
Namespace: System.Reflection
Assembly: mscorlib.dll
System.Reflection Namespace | FindInterfaces | Object | Delegate | MulticastDelegate