LocationMy.Application.Info.LoadedAssemblies SyntaxDim result As System.Collections.ObjectModel. _ ReadOnlyCollection(Of System.Reflection.Assembly) = _ My.Application.Info.LoadedAssemblies DescriptionThe LoadedAssemblies property returns a collection of all assemblies currently loaded by the active application, with each element of type System.Reflection.Assembly. Usage at a Glance
ExampleThe following example displays the names of all currently loaded assemblies in a message box. Dim assemblyList As String = "" Dim allAssemblies As System.Collections.ObjectModel. _ ReadOnlyCollection(Of System.Reflection.Assembly) = _ My.Application.Info.LoadedAssemblies For Each oneAssembly As System.Reflection.Assembly _ In allAssemblies assemblyList &= "|" & oneAssembly.FullName Next oneAssembly MsgBox("The following assemblies are currently loaded:" & _ Replace(assemblyList, "|", vbCrLf)) Related Framework Entries
See AlsoAssemblyName Property, DirectoryPath Property, Info Object (My.Application) |