共用方式為


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 中類別的清單。

屬性

適用於