RegistrationServices.TypeRequiresRegistration(Type) 方法

定義

判斷指定的型別是否需要登錄。

public:
 virtual bool TypeRequiresRegistration(Type ^ type);
public virtual bool TypeRequiresRegistration (Type type);
[System.Security.SecurityCritical]
public virtual bool TypeRequiresRegistration (Type type);
abstract member TypeRequiresRegistration : Type -> bool
override this.TypeRequiresRegistration : Type -> bool
[<System.Security.SecurityCritical>]
abstract member TypeRequiresRegistration : Type -> bool
override this.TypeRequiresRegistration : Type -> bool
Public Overridable Function TypeRequiresRegistration (type As Type) As Boolean

參數

type
Type

要檢查是否符合 COM 註冊需求的型別。

傳回

如果型別必須註冊才能從 COM 使用,則為 true,否則為 false

實作

屬性

適用於