Partager via


MemberInfo.MemberType Property

Gets the type of the current member, such as field, method, or property, for example.

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

Syntax

public virtual abstract MemberTypes MemberType { get; }

Property Value

An enumerated value from the MemberTypes enumeration, specifying a constructor, event, field, method, property, type, all member types, or a custom member type.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

MemberInfo Class
MemberInfo Members
System.Reflection Namespace