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 하는 것과 같습니다.

적용 대상