O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

MemberTypes

Synopsis

This enumeration represents the different types of MemberInfo objects. All specifies all member types, and Custom specifies a custom member type. All of the other enumerated values specify the type of the MemberInfo object. For example, Field designates that the MemberInfo object is actually a FieldInfo object.

public enum MemberTypes {
   Constructor = 1,
   Event = 2,
   Field = 4,
   Method = 8,
   Property = 16,
   TypeInfo = 32,
   Custom = 64,
   NestedType = 128,
   All = 191
}

Hierarchy

System.ObjectSystem.ValueTypeSystem.Enum(System.IComparable, System.IFormattable, System.IConvertible)MemberTypes

Returned By

MemberInfo.MemberType

Passed To

System.Type.{FindMembers(), GetMember()}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required