IRegistrationServices.RegisterTypeForComClients(Type, Guid) Metod

Definition

Registrerar den angivna typen med COM med det angivna GUID:et.

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)

Parametrar

type
Type

Den typ som ska registreras för användning från COM.

g
Guid

GUID som används för att registrera den angivna typen.

Attribut

Kommentarer

Den här metoden motsvarar anrop CoRegisterClassObject i COM.

Gäller för