Share via


AppDomain.GetAssemblies Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the assemblies that have been loaded into the execution context of this application domain.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Function GetAssemblies As Assembly()
public Assembly[] GetAssemblies()

Return Value

Type: array<System.Reflection.Assembly[]
An array of assemblies in this application domain.

Exceptions

Exception Condition
AppDomainUnloadedException

The operation is attempted on an unloaded application domain.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference