An abstract base class that represents a class member, such as a property, or event.
For a list of all members of this type, see MemberDescriptor Members.
[Visual Basic] <ComVisible(True)> MustInherit Public Class MemberDescriptor [C#] [ComVisible(true)] public abstract class MemberDescriptor [C++] [ComVisible(true)] public __gc __abstract class MemberDescriptor [JScript] public ComVisible(true) abstract class MemberDescriptor
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
MemberDescriptor is the base class for the EventDescriptor and the PropertyDescriptor classes. The EventDescriptor class provides a description of an event, and the PropertyDescriptor class provides a description of a property.
This class defines properties and methods to access its stored attributes. Attributes gets the collection of attributes. Category, IsBrowsable, Description, and DesignTimeOnly retrieve the values of those specific attributes. Name and DisplayName provide the name of the member.
The MemberDescriptor also defines an Equals method to compare this MemberDescriptor to another.
Note Typically, you inherit from the EventDescriptor and PropertyDescriptor classes, and not from this class.
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: System (in System.dll)