Defines basic functions for all attributes. MemberAttribute is the abstract (in Visual Basic MustInherit) base class from which all other attribute classes derive.
Object
Attribute
MemberAttribute
[Visual Basic] MustInherit Public Class MemberAttribute Inherits Attribute [C#] public abstract class MemberAttribute : Attribute [C++] public __gc __abstract class MemberAttribute : public Attribute [JScript] public abstract class MemberAttribute extends Attribute
Attributes provide information about an entity such as a component, event, interface or property. This information is stored as NGWS runtime metadata.
Use the TypeId property to get a unique ID for this MemberAttribute. For most attributes, this is the Type instance for the attribute. Call Match to determine whether one attribute is the same as another.
The following attributes in System.ComponentModel inherit from this base class:
Class | Description |
---|---|
BindableAttribute | Specifies whether a property is appropriate to bind data to. |
BrowsableAttribute | Specifies whether a property or event can be modified at design time. |
CategoryAttribute | Specifies that a property or event belongs to a certain category. |
ComponentEditorAttribute | Specifies the editor to use to change a component. |
DefaultEventAttribute | Specifies the default event for the component. |
DefaultPropertyAttribute | Specifies the default property for the component. |
DefaultValueAttribute | Specifies the default value for a property or extender. |
DescriptionAttribute | Specifies a description for a property or event. |
DesignerAttribute | Specifies the designer class to use to display a component at design time. |
DesignOnlyAttribute | Specifies that a property can be set only at design time. |
EditorAttribute | Specifies the editor to use to change a property. |
EventDescriptorAttribute | Specifies how to identify a property as an event. |
ExtenderPropertyAttribute | Specifies which components can accept the extender. |
HelpAttribute | Specifies Help file and Help topic for a property or event. |
LicenseProviderAttribute | Specifies the license provider to use with a class. |
LocalizableAttribute | Specifies whether a property should be localized. |
MergablePropertyAttribute | Specifies that this property can be combined with properties belonging to other objects in a property browser. |
NotificationAttribute | Specifies whether a property should send notification events when changed. |
PersistableAttribute | Specifies which values are saved for a property or event. |
PersistContentsAttribute | Specifies whether a visual designer must generate special code to persist the value of a property. |
PersisterAttribute | Specifies what class to use as a value persister. |
ProvidePropertyAttribute | Specifies which methods are extender properties. |
ReadOnlyAttribute | Specifies that a property is read-only. |
RecommendedAsConfigurableAttribute | Specifies that the property could be used as an application setting. |
RunInstallerAttribute | Specifies whether an installer should be invoked during installation of an assembly. |
ServerExplorerBrowsableAttribute | Specifies whether a property or event can be modified at design time in the server explorer. |
ServerExplorerReadOnlyAttribute | Specifies that a property is read-only in the server explorer. |
TypeConverterAttribute | Specifies what to use as a converter for values. |
For more information, see TBD and TBD.
Namespace: System.ComponentModel
Assembly: System.dll