System.Runtime.InteropServices.RegistrationServices Members

The members of System.Runtime.InteropServices.RegistrationServices are listed below.

See Also: Inherited members from System.Object

Public Constructors

Public Methods

GetManagedCategoryGuid() : Guid

Returns the GUID of the COM category that contains the managed classes.

GetProgIdForType(Type) : string

Retrieves the COM ProgID for the specified type.

GetRegistrableTypesInAssembly(System.Reflection.Assembly) : Type[]

Retrieves a list of classes in an assembly that would be registered by a call to RegistrationServices.RegisterAssembly(System.Reflection.Assembly, AssemblyRegistrationFlags).

RegisterAssembly(System.Reflection.Assembly, AssemblyRegistrationFlags) : bool

Registers the classes in a managed assembly to enable creation from COM.

RegisterTypeForComClients(Type, ref Guid)
Documentation for this section has not yet been entered.
RegisterTypeForComClients(Type, RegistrationClassContext, RegistrationConnectionType) : int

Registers the specified type with COM using the specified execution context and connection type.

TypeRepresentsComType(Type) : bool

Indicates whether a type is marked with the System.Runtime.InteropServices.ComImportAttribute, or derives from a type marked with the System.Runtime.InteropServices.ComImportAttribute and shares the same GUID as the parent.

TypeRequiresRegistration(Type) : bool

Determines whether the specified type requires registration.

UnregisterAssembly(System.Reflection.Assembly) : bool

Unregisters the classes in a managed assembly.

UnregisterTypeForComClients(int)

Removes references to a type registered with the RegistrationServices.RegisterTypeForComClients(Type, RegistrationClassContext, RegistrationConnectionType) method.