言語

IRegistrationServices.RegisterTypeForComClients(Type, Guid) メソッド

定義

指定した GUID を使用して、指定した型を COM に登録します。

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)

パラメーター

type
Type

COM から使用するために登録する型。

g
Guid

指定した型を登録するために使用される GUID。

属性

注釈

このメソッドは、COM で CoRegisterClassObject を呼び出すことと同じです。

適用対象