MemberFilter

MemberFilter serializable

System.Reflection (mscorlib.dll) delegate

This delegate defines a function that is used to filter an array of MemberInfo objects. This method is run for each MemberInfo and should return true to include the MemberInfo . The second parameter, filterCriteria , is an arbitrary argument that you may specify to be passed to the filter.

This delegate is used from the System.Type.FindMembers( ) method and is designed to allow for high-level "searches" of a type's members (fields, methods , properties, and so on) without having to code the actual looping logic itself.

 public delegate bool  MemberFilter  (MemberInfo   m   , object   filterCriteria   ); 

Passed To

System.Type.FindMembers( )



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net