RegistrationServices::GetRegistrableTypesInAssembly Method (Assembly^)

 

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:
[SecurityCriticalAttribute]
virtual array<Type^>^ GetRegistrableTypesInAssembly(
	Assembly^ assembly
)

Parameters

assembly
Type: System.Reflection::Assembly^

The assembly to search for classes.

Return Value

Type: array<System::Type^>^

A Type array containing a list of classes in assembly.

Exception Condition
ArgumentNullException

The assembly parameter is null.

SecurityCriticalAttribute

requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

.NET Framework
Available since 1.1
Return to top
Show: