Assembly.GetCustomAttributes : Assembly « System.Reflection « VB.Net by API






Assembly.GetCustomAttributes

  
Imports System.Reflection


Public Class MainClass

    Public Shared Sub Main()
        Dim ThisAssembly As [Assembly] = [Assembly].GetExecutingAssembly()

        Dim Attr As Attribute
        For Each Attr In ThisAssembly.GetCustomAttributes(False)
            Console.WriteLine(Attr)
        Next

    End Sub

End Class

   
    
  








Related examples in the same category

1.Assembly.CodeBase
2.Assembly.EntryPoint
3.Assembly.FullName
4.Assembly.GetExecutingAssembly()
5.Assembly.GetLoadedModules()
6.Assembly.GetManifestResourceNames()
7.Assembly.GetReferencedAssemblies()
8.Assembly.GetTypes()
9.Assembly.GlobalAssemblyCache
10.Assembly.Load
11.Assembly.Location