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
反馈
https://aka.ms/ContentUserFeedback。
即将推出:在整个 2024 年,我们将逐步取消以“GitHub 问题”作为内容的反馈机制,并将其替换为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈