AssemblyInfo.LoadedAssemblies Property

Note: This property is new in the .NET Framework version 2.0.

Gets a collection of all assemblies loaded by the application.

Namespace: Microsoft.VisualBasic.ApplicationServices
Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)

public ReadOnlyCollection<Assembly> LoadedAssemblies { get; }
/** @property */
public ReadOnlyCollection<Assembly> get_LoadedAssemblies ()

public function get LoadedAssemblies () : ReadOnlyCollection<Assembly>

Property Value

A ReadOnlyCollection of Assembly containing all the assemblies loaded by the application.

For more detailed information, see the Visual Basic topic My.Application.Info.LoadedAssemblies Property.

The My.Application.Info.LoadedAssemblies property is similar to the GetAssemblies method.

This example uses the My.Application.Info.LoadedAssemblies property to display the assemblies loaded by the application.

ListBox1.DataSource = My.Application.Info.LoadedAssemblies

This example requires that your Windows Forms application has a ListBox control named ListBox1.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions