System.Reflection.MemberFilter Delegate

Assembly: Mscorlib.dll
Namespace: System.Reflection
Summary
Represents a delegate that is used to filter a list of members represented in an array of MemberInfo objects.
C# Syntax:
[Serializable]
public delegate bool MemberFilter(MemberInfo m, object filterCriteria);
Parameters:
The declaration of your event handler must have the same parameters as the MemberFilter delegate declaration.

m

The MemberInfo object to which the filter is applied.

filterCriteria

An arbitrary object used to filter the list.

Remarks
Every derived class of a Delegate and MulticastDelegate has a constructor and an Invoke method. (See the code example in Delegate.)

The Type.FindMembers method uses this delegate to filter the list of members that it returns.

See also:
System.Reflection Namespace | Type

Hierarchy:

Top of page

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