IRegistrationServices Interfejs

Definicja

Zawiera zestaw usług służących do rejestrowania i wyrejestrowywania zestawów zarządzanych do użycia 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
Pochodne
Atrybuty

Uwagi

Rejestracja jest wymagana, gdy obiekty w zestawie są używane przez klientów modelu COM.

Metody

GetManagedCategoryGuid()

Zwraca identyfikator GUID kategorii COM, która zawiera klasy zarządzane.

GetProgIdForType(Type)

Pobiera identyfikator ProgID COM dla określonego typu.

GetRegistrableTypesInAssembly(Assembly)

Pobiera listę klas w zestawie, które zostałyby zarejestrowane przez wywołanie RegisterAssembly(Assembly, AssemblyRegistrationFlags) .

RegisterAssembly(Assembly, AssemblyRegistrationFlags)

Rejestruje klasy w zarządzanym zestawie, aby umożliwić tworzenie z modelu COM.

RegisterTypeForComClients(Type, Guid)

Rejestruje określony typ z modelem COM przy użyciu określonego identyfikatora GUID.

TypeRepresentsComType(Type)

Określa, czy określony typ jest typem COM.

TypeRequiresRegistration(Type)

Określa, czy określony typ wymaga rejestracji.

UnregisterAssembly(Assembly)

Wyrejestrowuje klasy w zarządzanym zestawie.

Dotyczy