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 と同じです。

適用対象