Table of Contents

Enum MemberTypes

Namespace
System.Reflection
Assembly
mscorlib.dll

Marks each type of member that is defined as a derived class of MemberInfo.

public enum MemberTypes

Fields

All = 191

Specifies all member types.

Constructor = 1

Specifies that the member is a constructor

Custom = 64

Specifies that the member is a custom member type

Event = 2

Specifies that the member is an event

Field = 4

Specifies that the member is a field

Method = 8

Specifies that the member is a method

NestedType = 128

Specifies that the member is a nested type

Property = 16

Specifies that the member is a property

TypeInfo = 32

Specifies that the member is a type

Remarks

Available only in mscorlib build with support for System.Reflection.