Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a class member, such as a property or event. This is an abstract base class.
public ref class MemberDescriptor abstract
public abstract class MemberDescriptor
[System.Runtime.InteropServices.ComVisible(true)] public abstract class MemberDescriptor
type MemberDescriptor = class
[<System.Runtime.InteropServices.ComVisible(true)>] type MemberDescriptor = class
Public MustInherit Class MemberDescriptor
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. The Attributes property gets the collection of attributes. The Category, IsBrowsable, Description, and DesignTimeOnly properties retrieve the values of those specific attributes. The Name and DisplayName properties provide the name of the member.
Initializes a new instance of the MemberDescriptor class with the specified name of the member.
Initializes a new instance of the MemberDescriptor class with the specified name of the member and an array of attributes.
Gets or sets an array of attributes.
Gets the collection of attributes for this member.
Gets the name of the category to which the member belongs, as specified in the CategoryAttribute.
Gets the description of the member, as specified in the DescriptionAttribute.
Gets whether this member should be set only at design time, as specified in the DesignOnlyAttribute.
Gets the name that can be displayed in a window, such as a Properties window.
Gets a value indicating whether the member is browsable, as specified in the BrowsableAttribute.
Gets the name of the member.
Gets the hash code for the name of the member, as specified in GetHashCode().
Creates a collection of attributes using the array of attributes passed to the constructor.
Compares this instance to the given object to see if they are equivalent.
When overridden in a derived class, adds the attributes of the inheriting class to the specified list of attributes in the parent class.
|FindMethod(Type, String, Type, Type)||
Finds the given method through reflection, searching only for public methods.
|FindMethod(Type, String, Type, Type, Boolean)||
Finds the given method through reflection, with an option to search only public methods.
Returns the hash code for this instance.
Retrieves the object that should be used during invocation of members.
Gets the component on which to invoke a method.
Gets a component site for the given component.
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a string that represents the current object.(Inherited from Object)