IRegistrationServices.RegisterTypeForComClients(Type, Guid) Método

Definição

Regista o tipo especificado com COM usando o GUID especificado.

public:
 void RegisterTypeForComClients(Type ^ type, Guid % g);
public void RegisterTypeForComClients(Type type, ref Guid g);
[System.Security.SecurityCritical]
public void RegisterTypeForComClients(Type type, ref Guid g);
abstract member RegisterTypeForComClients : Type * Guid -> unit
[<System.Security.SecurityCritical>]
abstract member RegisterTypeForComClients : Type * Guid -> unit
Public Sub RegisterTypeForComClients (type As Type, ByRef g As Guid)

Parâmetros

type
Type

O tipo a ser registado para uso pela COM.

g
Guid

O GUID era usado para registar o tipo especificado.

Atributos

Observações

Este método é equivalente a chamar CoRegisterClassObject em COM.

Aplica-se a