MemberTypes Enumeration
Marks each member type that is defined as a class derived from the MemberInfo class.
Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Syntax
[SerializableAttribute]
public enum MemberTypes
Members
Member name | Description | |
---|---|---|
All | All member types. | |
Constructor | A constructor that represents a ConstructorInfo member. | |
Custom | A custom member type with a hexadecimal value of 0x40. | |
Event | An event with a hexadecimal value of 0x02. | |
Field | A field that represents a FieldInfo member. This field has a hexadecimal value of 0x04. | |
Method | A method that represents a MethodInfo member. This method has a hexadecimal value of 0x08. | |
NestedType | A nested type that extends the MemberInfo class. | |
Property | A property that represents a PropertyInfo member. This property has a hexadecimal value of 0x10. | |
TypeInfo | A type with a hexadecimal value of 0x20. |
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.