Export (0) Print
Expand All

RegistrationServices.GetRegistrableTypesInAssembly Method

Retrieves a list of classes in an assembly that would be registered by a call to RegisterAssembly.

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

public virtual Type[] GetRegistrableTypesInAssembly (
	Assembly assembly
)
public Type[] GetRegistrableTypesInAssembly (
	Assembly assembly
)
public function GetRegistrableTypesInAssembly (
	assembly : Assembly
) : Type[]
Not applicable.

Parameters

assembly

The assembly to search for classes.

Return Value

A Type array containing a list of classes in assembly.

Exception typeCondition

ArgumentNullException

The assembly parameter is a null reference (Nothing in Visual Basic).

Windows 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft