Bagikan melalui


RegistrationServices.GetRegistrableTypesInAssembly(Assembly) Metode

Definisi

Mengambil daftar kelas dalam rakitan yang akan didaftarkan dengan panggilan ke RegisterAssembly(Assembly, AssemblyRegistrationFlags).

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

Parameter

assembly
Assembly

Perakitan untuk mencari kelas.

Mengembalikan

Type[]

Array Type yang berisi daftar kelas di assembly.

Penerapan

Atribut

Pengecualian

Parameternya assembly adalah null.

Berlaku untuk