Export (0) Print
Expand All

MemberInfo Class

Discovers the attributes of a member and provides access to member metadata.

For a list of all members of this type, see MemberInfo Members.

System.Object
   System.Reflection.MemberInfo
      System.Reflection.EventInfo
      System.Reflection.FieldInfo
      System.Reflection.MethodBase
      System.Reflection.PropertyInfo
      System.Type

[Visual Basic]
<Serializable>
<ClassInterface(ClassInterfaceType.AutoDual)>
MustInherit Public Class MemberInfo
   Implements ICustomAttributeProvider
[C#]
[Serializable]
[ClassInterface(ClassInterfaceType.AutoDual)]
public abstract class MemberInfo : ICustomAttributeProvider
[C++]
[Serializable]
[ClassInterface(ClassInterfaceType::AutoDual)]
public __gc __abstract class MemberInfo : public
   ICustomAttributeProvider
[JScript]
public
   Serializable
 ClassInterface(ClassInterfaceType.AutoDual)
abstract class MemberInfo implements
   ICustomAttributeProvider

Thread Safety

This type is safe for multithreaded operations.

Remarks

The MemberInfo class is the abstract base class of the classes used to obtain information for all members of a class (constructors, events, fields, methods, and properties).

This class introduces the basic functionality that all members provide.

Notes to Inheritors:  When you inherit from MemberInfo, you must override the following members: GetCustomAttributes and IsDefined.

Requirements

Namespace: System.Reflection

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

MemberInfo Members | System.Reflection Namespace

Show:
© 2014 Microsoft