MemberFilter MemberFilter MemberFilter MemberFilter Delegate

Definition

Represents a delegate that is used to filter a list of members represented in an array of MemberInfo objects.

public delegate bool MemberFilter(MemberInfo ^ m, System::Object ^ filterCriteria);
[System.Runtime.InteropServices.ComVisible(true)]
[Serializable]
public delegate bool MemberFilter(MemberInfo m, object filterCriteria);
type MemberFilter = delegate of MemberInfo * obj -> bool
Public Delegate Function MemberFilter(m As MemberInfo, filterCriteria As Object) As Boolean 

Parameters

m
MemberInfo MemberInfo MemberInfo MemberInfo

The MemberInfo object to which the filter is applied.

filterCriteria
Object Object Object Object

An arbitrary object used to filter the list.

Return Value

System.Boolean

true to include the member in the filtered list; otherwise false.

Inheritance
MemberFilterMemberFilterMemberFilterMemberFilter
Attributes
ComVisibleAttribute SerializableAttribute

Remarks

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

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

Applies to

See Also