IRegistrationServices.GetRegistrableTypesInAssembly(Assembly) 方法

定义

在通过调用 RegisterAssembly(Assembly, AssemblyRegistrationFlags) 注册的程序集中检索类的列表。

public:
 cli::array <Type ^> ^ GetRegistrableTypesInAssembly(System::Reflection::Assembly ^ assembly);
public Type[] GetRegistrableTypesInAssembly (System.Reflection.Assembly assembly);
[System.Security.SecurityCritical]
public Type[] GetRegistrableTypesInAssembly (System.Reflection.Assembly assembly);
abstract member GetRegistrableTypesInAssembly : System.Reflection.Assembly -> Type[]
[<System.Security.SecurityCritical>]
abstract member GetRegistrableTypesInAssembly : System.Reflection.Assembly -> Type[]
Public Function GetRegistrableTypesInAssembly (assembly As Assembly) As Type()

参数

assembly
Assembly

要搜索类的程序集。

返回

Type[]

Type 数组,它包含 assembly 中的类的列表。

属性

适用于