Like this article? We recommend
Inheriting from System.Attribute
Attributes inherit from System.Attribute. No further elaboration is necessary, other than to point out that true inheritance is new to Visual Basic .NET. Listing 3 shows the updated code and the proper way to express inheritance in Visual Basic .NET.
Listing 3Inheriting from System.Attribute
<AttributeUsage(AttributeTargets.Property, _ Inherited:=True, AllowMultiple:=True)> _ Public Class ControlDesignerAttribute Inherits System.Attribute End Class