IRegistrationServices Rozhraní

Definice

Poskytuje sadu služeb pro registraci a zrušení registrace spravovaných sestavení pro použití z modelu 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
Odvozené
Atributy

Poznámky

Registrace je nutná, pokud jsou objekty v rámci sestavení používány klienty MODELU COM.

Metody

GetManagedCategoryGuid()

Vrátí identifikátor GUID kategorie modelu COM, která obsahuje spravované třídy.

GetProgIdForType(Type)

Načte COM ProgID pro zadaný typ.

GetRegistrableTypesInAssembly(Assembly)

Načte seznam tříd v sestavení, které by byly zaregistrovány voláním RegisterAssembly(Assembly, AssemblyRegistrationFlags).

RegisterAssembly(Assembly, AssemblyRegistrationFlags)

Zaregistruje třídy ve spravovaném sestavení, aby bylo možné vytvořit z modelu COM.

RegisterTypeForComClients(Type, Guid)

Zaregistruje zadaný typ pomocí modelu COM pomocí zadaného identifikátoru GUID.

TypeRepresentsComType(Type)

Určuje, zda je zadaný typ typu modelu COM.

TypeRequiresRegistration(Type)

Určuje, zda zadaný typ vyžaduje registraci.

UnregisterAssembly(Assembly)

Zruší registraci tříd ve spravovaném sestavení.

Platí pro