IRegistrationServices Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a set of services for registering and unregistering managed assemblies for use from COM.
public interface class IRegistrationServices
[System.Runtime.InteropServices.Guid("CCBD682C-73A5-4568-B8B0-C7007E11ABA2")]
public interface IRegistrationServices
[System.Runtime.InteropServices.Guid("CCBD682C-73A5-4568-B8B0-C7007E11ABA2")]
[System.Runtime.InteropServices.ComVisible(true)]
public interface IRegistrationServices
[<System.Runtime.InteropServices.Guid("CCBD682C-73A5-4568-B8B0-C7007E11ABA2")>]
type IRegistrationServices = interface
[<System.Runtime.InteropServices.Guid("CCBD682C-73A5-4568-B8B0-C7007E11ABA2")>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type IRegistrationServices = interface
Public Interface IRegistrationServices
- Derived
- Attributes
Remarks
Registration is needed when the objects within an assembly are being used by COM clients.
Methods
GetManagedCategoryGuid() |
Returns the GUID of the COM category that contains the managed classes. |
GetProgIdForType(Type) |
Retrieves the COM ProgID for a specified type. |
GetRegistrableTypesInAssembly(Assembly) |
Retrieves a list of classes in an assembly that would be registered by a call to RegisterAssembly(Assembly, AssemblyRegistrationFlags). |
RegisterAssembly(Assembly, AssemblyRegistrationFlags) |
Registers the classes in a managed assembly to enable creation from COM. |
RegisterTypeForComClients(Type, Guid) |
Registers the specified type with COM using the specified GUID. |
TypeRepresentsComType(Type) |
Determines whether the specified type is a COM type. |
TypeRequiresRegistration(Type) |
Determines whether the specified type requires registration. |
UnregisterAssembly(Assembly) |
Unregisters the classes in a managed assembly. |
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za