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