System.Type.FilterNameIgnoreCase Field

Represents the case-insensitive member filter used on names. This field is read-only.

Syntax

public static readonly System.Reflection.MemberFilter FilterNameIgnoreCase

Remarks

This field holds a reference to the delegate used by the Type.FindMembers(System.Reflection.MemberTypes, System.Reflection.BindingFlags, System.Reflection.MemberFilter, object) method. The method encapsulated by this delegate takes two parameters: the first is a System.Reflection.MemberInfo object and the second is an Object. The method determines whether the MemberInfo object matches the criteria specified by the Object. The Object is assigned a string value, which may include a trailing "*" wildcard character. Only wildcard end string matching is supported.

For example, the Object may be assigned the value "ByTe*". In that case, when the FilterName delegate is invoked, it will return true only if the method represented by the MemberInfo object has a name that begins with "byte", ignoring case.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0