RegistrationServices.GetRegistrableTypesInAssembly-Methode: (Assembly)
Veröffentlicht: Oktober 2016
Ruft eine Liste der Klassen in einer Assembly, die durch einen Aufruf von registriert werden RegisterAssembly.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Syntax
[SecurityCriticalAttribute]
public virtual Type[] GetRegistrableTypesInAssembly(
Assembly assembly
)
public:
[SecurityCriticalAttribute]
virtual array<Type^>^ GetRegistrableTypesInAssembly(
Assembly^ assembly
)
[<SecurityCriticalAttribute>]
abstract GetRegistrableTypesInAssembly :
assembly:Assembly -> Type[]
[<SecurityCriticalAttribute>]
override GetRegistrableTypesInAssembly :
assembly:Assembly -> Type[]
<SecurityCriticalAttribute>
Public Overridable Function GetRegistrableTypesInAssembly (
assembly As Assembly
) As Type()
Parameter
assembly
Type: System.Reflection.AssemblyDie Assembly, die Suche nach Klassen.
Rückgabewert
Type: System.Type[]
Ein Type Array mit der Liste der Klassen in assembly.
Implementiert
IRegistrationServices.GetRegistrableTypesInAssembly(Assembly)
Ausnahmen
Exception | Condition |
---|---|
ArgumentNullException | Der assembly-Parameter ist null. |
Sicherheit
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Versionsinformationen
.NET Framework
Verfügbar seit 1.1
Siehe auch
RegistrationServices-Klasse
System.Runtime.InteropServices-Namespace
Zurück zum Anfang