Imports System 'Declaring atrribute target to be class and using attribute on methods _ Public Class AuthorAttribute Inherits Attribute Public Name Public Sub New(ByVal Name As String) Me.Name=Name End Sub End Class _ Public Class C1 _ Public Sub S1() End Sub End Class Module Test Sub Main() End Sub End Module