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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應