UtilAssemblyRegistrationRegisterManagedAssembly(Assembly, AssemblyRegistrationFlags) Method
Registers the classes in a managed .NET assembly to enable creation from COM.
This is the equivalent for calling
RegAsm.exe to register a .NET assembly.
Namespace: DevCase.Core.Diagnostics.AssemblyAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool RegisterManagedAssembly(
Assembly assembly,
AssemblyRegistrationFlags flags
)
Public Shared Function RegisterManagedAssembly (
assembly As Assembly,
flags As AssemblyRegistrationFlags
) As Boolean
Dim assembly As [Assembly]
Dim flags As AssemblyRegistrationFlags
Dim returnValue As Boolean
returnValue = UtilAssemblyRegistration.RegisterManagedAssembly(assembly,
flags)
public:
static bool RegisterManagedAssembly(
Assembly^ assembly,
AssemblyRegistrationFlags flags
)
static member RegisterManagedAssembly :
assembly : Assembly *
flags : AssemblyRegistrationFlags -> bool
No code example is currently available or this language may not be supported.
- assembly Assembly
-
The DevCase.Core.Diagnostics.Assembly to be registered.
- flags AssemblyRegistrationFlags
-
Defines a set of flags used when registering assemblies.
Boolean if the assembly contains types that were successfully registered;
otherwise
if the assembly contains no eligible types.