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()}

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.