UtilAssemblyRegistrationRegisterManagedAssembly(FileInfo, 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(
FileInfo file,
AssemblyRegistrationFlags flags
)
Public Shared Function RegisterManagedAssembly (
file As FileInfo,
flags As AssemblyRegistrationFlags
) As Boolean
Dim file As FileInfo
Dim flags As AssemblyRegistrationFlags
Dim returnValue As Boolean
returnValue = UtilAssemblyRegistration.RegisterManagedAssembly(file,
flags)
public:
static bool RegisterManagedAssembly(
FileInfo^ file,
AssemblyRegistrationFlags flags
)
static member RegisterManagedAssembly :
file : FileInfo *
flags : AssemblyRegistrationFlags -> bool
No code example is currently available or this language may not be supported.
- file FileInfo
-
The 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.