MemberFilter Delegate
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
public delegate bool MemberFilter(MemberInfo m, object? filterCriteria);
public delegate bool MemberFilter(MemberInfo m, object filterCriteria);
[System.Serializable]
public delegate bool MemberFilter(MemberInfo m, object filterCriteria);
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public delegate bool MemberFilter(MemberInfo m, object filterCriteria);
type MemberFilter = delegate of MemberInfo * obj -> bool
[<System.Serializable>]
type MemberFilter = delegate of MemberInfo * obj -> bool
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type MemberFilter = delegate of MemberInfo * obj -> bool
Public Delegate Function MemberFilter(m As MemberInfo, filterCriteria As Object) As Boolean
The MemberInfo object to which the filter is applied.
- filterCriteria
- Object
An arbitrary object used to filter the list.
true
to include the member in the filtered list; otherwise false
.
- Attributes
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.
Get |
Gets an object that represents the method represented by the specified delegate. |
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.5, 1.6, 2.0, 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: