Type.FilterName Field

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

static val FilterName : MemberFilter

This field holds a reference to the delegate used by the FindMembers method. The method encapsulated by this delegate takes two parameters: the first is a 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".

The following code example gets the methods associated with the user-defined Application type.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: