共用方式為


RegistrationServices.UnregisterTypeForComClients(Int32) 方法

定義

public:
 virtual void UnregisterTypeForComClients(int cookie);
[System.Runtime.InteropServices.ComVisible(false)]
public virtual void UnregisterTypeForComClients (int cookie);
[System.Runtime.InteropServices.ComVisible(false)]
[System.Security.SecurityCritical]
public virtual void UnregisterTypeForComClients (int cookie);
[<System.Runtime.InteropServices.ComVisible(false)>]
abstract member UnregisterTypeForComClients : int -> unit
override this.UnregisterTypeForComClients : int -> unit
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Security.SecurityCritical>]
abstract member UnregisterTypeForComClients : int -> unit
override this.UnregisterTypeForComClients : int -> unit
Public Overridable Sub UnregisterTypeForComClients (cookie As Integer)

參數

cookie
Int32

RegisterTypeForComClients(Type, RegistrationClassContext, RegistrationConnectionType) 方法多載先前呼叫所傳回的 Cookie 值。

屬性

備註

請注意,不支援使用平台調用來呼叫 Unmanaged CoRegisterClassObjectCoDisconnectObject 方法來註冊和取消註冊 COM 物件。

適用於